X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fbeg_functions.php;h=7eeb42072aee47488c02c9db1c4a48490499689d;hp=04db5702d15d147ac96b41750fd3a46766c18a23;hb=22a33b87f9894a94efb71de7630f12129e34f83b;hpb=e5676824c6657556f866057ffa33cb78826c8f89 diff --git a/inc/libs/beg_functions.php b/inc/libs/beg_functions.php index 04db5702d1..7eeb42072a 100644 --- 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'))); }