X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmysql-manager.php;h=1f261f4f3b656668aa1804431fe3b54eabfc798b;hp=4544a12929f4df7a27f14bcc6ff2908bc2c408c5;hb=22a33b87f9894a94efb71de7630f12129e34f83b;hpb=e5676824c6657556f866057ffa33cb78826c8f89 diff --git a/inc/mysql-manager.php b/inc/mysql-manager.php index 4544a12929..1f261f4f3b 100644 --- a/inc/mysql-manager.php +++ b/inc/mysql-manager.php @@ -1106,8 +1106,8 @@ function GET_REF_LEVEL_PERCENTS ($level) { * for default value will cause no referal will get points ever!!!) */ function ADD_POINTS_REFSYSTEM ($subject, $uid, $points, $send_notify=false, $rid="0", $locked=false, $add_mode="ref") { - //* DEBUG: */ print "----------------------- ".__FUNCTION__." - ENTRY ----------------------------------------------- ".__FUNCTION__." - EXIT ------------------------
\n"; } // function UPDATE_REF_COUNTER ($uid) { @@ -1562,7 +1562,7 @@ WHERE p.userid=%s", array(bigintval($uid)), __FILE__, __LINE__); } // function META_DESCRIPTION ($mod, $wht) { - global $_CONFIG, $DEPTH; + global $_CONFIG; // Exclude admin and member's area if (($mod != "admin") && ($mod != "login")) { @@ -1574,7 +1574,7 @@ function META_DESCRIPTION ($mod, $wht) { } // END - if // Remove depth - unset($DEPTH); + unset($GLOBALS['ref_level']); } // function ADD_JACKPOT($points) {