X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=ref.php;h=f3308e2ee0a96f5bcf0f2c11657bd1a29de9ce66;hb=bdca58e2ac18d5f06a6b8a30a3488eb1360b67d9;hp=e2a7c62a3021619d37526fdb5d48fd34f1ca850c;hpb=3161d70d2c3a86649dd16a7909ec16f801f16e4e;p=mailer.git diff --git a/ref.php b/ref.php index e2a7c62a30..f3308e2ee0 100644 --- a/ref.php +++ b/ref.php @@ -58,7 +58,7 @@ $url = 'modules.php?module=index'; if ((isExtensionActive('user')) && (isReferralIdValid()) && (isValidUserId(determineReferralId()))) { // Update ref counter SQL_QUERY_ESC("UPDATE `{?_MYSQL_PREFIX?}_user_data` SET `ref_clicks`=`ref_clicks`+1 WHERE `userid`=%s LIMIT 1", - array(makeZeroToNull(determineReferralId())), __FILE__, __LINE__); + array(convertZeroToNull(determineReferralId())), __FILE__, __LINE__); // Base URL for redirection switch (getConfig('refid_target')) {