From: quix0r Date: Thu, 5 Nov 2009 16:45:33 +0000 (+0000) Subject: Possible fix for non-working nickname referal link X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0d4dc6c8ecfaa5c82cdf8fd445cb2d0a949fc2df;p=mailer.git Possible fix for non-working nickname referal link --- 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