projects
/
mailer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed handling of nicknames as 'refid':
[mailer.git]
/
sponsor_ref.php
diff --git
a/sponsor_ref.php
b/sponsor_ref.php
index d6cbd1f0de10c076b9a16990154897b71790d003..dd2bb617c612b06c02caeefbb3ea6fcd40932de4 100644
(file)
--- a/
sponsor_ref.php
+++ b/
sponsor_ref.php
@@
-53,9
+53,9
@@
setContentType('text/html');
$url = 'modules.php?module=index';
// Do we have a referal id?
$url = 'modules.php?module=index';
// Do we have a referal id?
-if (is
ValidUserId($GLOBALS['refid']
)) {
+if (is
ReferalIdValid(
)) {
// We have an refid here. So we simply add it
// We have an refid here. So we simply add it
- $url .= '&what=sponsor_reg&refid=' .
$GLOBALS['refid']
;
+ $url .= '&what=sponsor_reg&refid=' .
determineReferalId()
;
} // END - if
// Load the URL
} // END - if
// Load the URL