From 8ed6af64e47d41cb94b4f9b57a046f3d9089375f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 6 Oct 2012 23:58:37 +0000 Subject: [PATCH] Don't use convertZeroToNull() here as it makes no sense --- ref.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')) { -- 2.39.2