X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flibs%2Fbeg_functions.php;h=6c97bc34be6a020cf767b52582c7708ae79ccc2f;hp=f1f333ae439dba0c4904fcef52629b3c4dd45cbb;hb=a18efdcd57ba91893f0958a457b5c58639b135c3;hpb=7c3b5bc7f540276046334e6248a28fad7e27832b diff --git a/inc/libs/beg_functions.php b/inc/libs/beg_functions.php index f1f333ae43..6c97bc34be 100644 --- a/inc/libs/beg_functions.php +++ b/inc/libs/beg_functions.php @@ -55,8 +55,8 @@ function addPointsBeg ($userid, $points) { $added = (!SQL_HASZEROAFFECTED()); } else { // Add points to account - initReferalSystem(); - $added = addPointsThroughReferalSystem('beg', $userid, $points); + initReferralSystem(); + $added = addPointsThroughReferralSystem('beg', $userid, $points); } // Subtract begged points from member account if the admin has selected one