]> git.mxchange.org Git - mailer.git/blobdiff - inc/mysql-manager.php
Naming convention applied, wrapper functions may use __FUNCTION__ as first index
[mailer.git] / inc / mysql-manager.php
index 4ff3a8cd7b585d64a49192b0ffef40e0cb46b27d..120f26fe5edbac2fdac442b38e76e2ebbf1a4cd1 100644 (file)
@@ -1063,7 +1063,7 @@ function addPointsThroughReferalSystem ($subject, $userid, $points, $sendNotify
 
                        // Determine wether the user has some mails to click before he/she gets the points
                        $locked = false;
-                       if ((getUserData('ref_payout') > 0) && (!isDirectPaymentAllowed())) $locked = true;
+                       if ((getUserData('ref_payout') > 0) && (!isDirectPaymentEnabled())) $locked = true;
 
                        // Prepare data for the filter
                        $filterData = array(