More rewrites, and output-mode fixed (we should documentate this)
[mailer.git] / inc / libs / beg_functions.php
index 6fc6f55c1761c25be809bae704df53c0ba77aa63..fe4fc5338e9233653ae5897a43def91c956faa55 100644 (file)
@@ -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