]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/beg_functions.php
More rewrites to configuration:
[mailer.git] / inc / libs / beg_functions.php
index 94fbd26d3488fd5951b5acf47f363bf0728bfab8..8d96d1d25b463b607f151088fc2683a873d92376 100644 (file)
@@ -60,7 +60,7 @@ function addPointsBeg ($userid, $points) {
        }
 
        // Subtract begged points from member account if the admin has selected one
-       if (($added === TRUE) && (isValidUserId(getBegUserid()))) {
+       if (($added === TRUE) && (isValidId(getBegUserid()))) {
                // Subtract from this account
                $added = ($added && subtractPoints('beg_payout', getBegUserid(), $points));
        } // END - if