projects
/
mailer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Variable DEPTH must be deleted before ADD_POINTS_REFSYSTEM() is being called :(
[mailer.git]
/
inc
/
modules
/
guest
/
what-confirm.php
diff --git
a/inc/modules/guest/what-confirm.php
b/inc/modules/guest/what-confirm.php
index 262629303cb8f4149a1868ee209a9f05fc9fe4c4..1eba1b02c7deb1b5694d35185f6190a387046253 100644
(file)
--- a/
inc/modules/guest/what-confirm.php
+++ b/
inc/modules/guest/what-confirm.php
@@
-92,7
+92,7
@@
if (!empty($_GET['hash'])) {
} // END - if
// Add one-time referal bonus over referal system or directly
-
$DEPTH = 0
;
+
unset($DEPTH)
;
ADD_POINTS_REFSYSTEM($rid, $_CONFIG['points_ref'], true, bigintval($uid), $locked, $_CONFIG['reg_points_mode']);
} // END - if
} // END - if