X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=beg.php;h=168c5ad45e8444f996e56eef94a7072314acff1e;hb=61b77b466ed51b55406cce2671c6ad3991b350a9;hp=f4a0bd13f3aba0935318e6d761095b764f60036b;hpb=b56eadb18a023f4d2d712e8936b4dc1ad31fd580;p=mailer.git diff --git a/beg.php b/beg.php index f4a0bd13f3..168c5ad45e 100644 --- a/beg.php +++ b/beg.php @@ -126,7 +126,7 @@ if (isBooleanConstantAndTrue('mxchange_installed')) { // Remember remote address, userid and timestamp for next click // but only when there is no admin begging. // Admins shall be able to test it! - $result = SQL_QUERY_ESC("INSERT INTO "._MYSQL_PREFIX."_beg_ips (userid, remote_ip, timeout) VALUES('%s', '%s', UNIX_TIMESTAMP())", + $result = SQL_QUERY_ESC("INSERT INTO "._MYSQL_PREFIX."_beg_ips (userid, remote_ip, timeout) VALUES('%s','%s', UNIX_TIMESTAMP())", array($uid, getenv('REMOTE_ADDR')), __FILE__, __LINE__); }