From: Roland Häder 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/?p=mailer.git;a=commitdiff_plain;h=b9edcfb00bb14c7b53b107ff5b1290841340b434 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