From b9edcfb00bb14c7b53b107ff5b1290841340b434 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 5 Nov 2009 16:45:33 +0000 Subject: [PATCH] Possible fix for non-working nickname referal link --- inc/functions.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inc/functions.php b/inc/functions.php index 439827a097..c22a559d61 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -3186,6 +3186,9 @@ function determineReferalId () { // Default is not found $found = false; + // Set current userid here if no member + if (!isMember()) setCurrentUserId($GLOBALS['refid'); + // Do we have nickname or userid set? if (isNicknameUsed($GLOBALS['refid'])) { // Nickname in URL, so load the id -- 2.39.5