Possible fix #2 for reflink
[mailer.git] / inc / functions.php
index 64fb5c3a211c466035b40e7898cdcc9ca7b6b207..439827a0978e7b24ae29d76998b1204053d81c07 100644 (file)
@@ -3186,9 +3186,6 @@ 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