projects
/
mailer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5408c1e
)
Possible fix for non-working nickname referal link
author
Roland Häder
<roland@mxchange.org>
Thu, 5 Nov 2009 16:45:33 +0000
(16:45 +0000)
committer
Roland Häder
<roland@mxchange.org>
Thu, 5 Nov 2009 16:45:33 +0000
(16:45 +0000)
inc/functions.php
patch
|
blob
|
history
diff --git
a/inc/functions.php
b/inc/functions.php
index 439827a0978e7b24ae29d76998b1204053d81c07..c22a559d614a9168bc1a520b162191694ef2c01f 100644
(file)
--- 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