X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Flibs%2Fbeg_functions.php;h=fe4fc5338e9233653ae5897a43def91c956faa55;hb=dbb6aa4eaeff7c3bab27f143d881781380d43d41;hp=6fc6f55c1761c25be809bae704df53c0ba77aa63;hpb=8193d561bd74568fb3da36ec84ee90e0316ed32f;p=mailer.git diff --git a/inc/libs/beg_functions.php b/inc/libs/beg_functions.php index 6fc6f55c17..fe4fc5338e 100644 --- a/inc/libs/beg_functions.php +++ b/inc/libs/beg_functions.php @@ -56,7 +56,7 @@ function addPointsBeg ($userid, $points) { // Add points to account // @TODO Try to rewrite the following unset() unset($GLOBALS['ref_level']); - addPointsThroughReferalSystem('beg', $userid, $points, false, '0', $locked, strtolower(getConfig('beg_mode'))); + addPointsThroughReferalSystem('beg', $userid, $points, false, 0, $locked, strtolower(getConfig('beg_mode'))); } // Subtract begged points from member account if the admin has selected one