]> git.mxchange.org Git - mailer.git/blobdiff - beg.php
Final fixes of previous bugs in refback
[mailer.git] / beg.php
diff --git a/beg.php b/beg.php
index 9d1ef62d0895f25fff1abad51f92b0ef2e476836..2c31d0330e8fd7774765e2ff6c8386e702f36c56 100644 (file)
--- a/beg.php
+++ b/beg.php
@@ -62,7 +62,7 @@ if (isBooleanConstantAndTrue('mxchange_installed')) {
                $uid = 0;
 
                // Validate if it is not a number
-               if ("".bigintval($_GET['uid'])."" !== "".$_GET['uid']."") {
+               if ("".($_GET['uid'] + 0)."" !== "".$_GET['uid']."") {
                        if (EXT_IS_ACTIVE("nickname")) {
                                // Maybe we have found a nickname?
                                $result = SQL_QUERY_ESC("SELECT userid, beg_clicks, ref_payout, status, last_online FROM "._MYSQL_PREFIX."_user_data WHERE nickname='%s' LIMIT 1",