projects
/
mailer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Variable rewritten to ['ref_level'] to avoid trouble with referal system
[mailer.git]
/
inc
/
libs
/
beg_functions.php
diff --git
a/inc/libs/beg_functions.php
b/inc/libs/beg_functions.php
index 04db5702d15d147ac96b41750fd3a46766c18a23..7eeb42072aee47488c02c9db1c4a48490499689d 100644
(file)
--- a/
inc/libs/beg_functions.php
+++ b/
inc/libs/beg_functions.php
@@
-52,7
+52,7
@@
function BEG_ADD_POINTS ($uid, $points) {
array($points, $uid), __FILE__, __LINE__);
} else {
// Add points to account
- unset($
DEPTH
);
+ unset($
GLOBALS['ref_level']
);
ADD_POINTS_REFSYSTEM("beg", $uid, $points, false, "0", $locked, strtolower(getConfig('beg_mode')));
}