X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=ref.php;fp=ref.php;h=f3308e2ee0a96f5bcf0f2c11657bd1a29de9ce66;hb=486544503c2e517dc5c399308fdf43c8e35ff102;hp=e2a7c62a3021619d37526fdb5d48fd34f1ca850c;hpb=f8cc979307416fbd9b27908ec461004a3feb9387;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')) {