From: Roland Häder Date: Sat, 6 Oct 2012 23:58:37 +0000 (+0000) Subject: Don't use convertZeroToNull() here as it makes no sense X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=commitdiff_plain;h=8ed6af64e47d41cb94b4f9b57a046f3d9089375f Don't use convertZeroToNull() here as it makes no sense --- diff --git a/ref.php b/ref.php index c91ff65364..6b0302c17a 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(convertZeroToNull(determineReferralId())), __FILE__, __LINE__); + array(determineReferralId()), __FILE__, __LINE__); // Base URL for redirection switch (getConfig('refid_target')) {