X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Ffunctions.php;h=64fb5c3a211c466035b40e7898cdcc9ca7b6b207;hb=4de4188e5f00d6f7eb3762b69983a80e05b06851;hp=439827a0978e7b24ae29d76998b1204053d81c07;hpb=86d7b339631307afe1ba16ceff8ce760c1523be1;p=mailer.git diff --git a/inc/functions.php b/inc/functions.php index 439827a097..64fb5c3a21 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