Ticket resolved, code rewrites and caching:
[mailer.git] / birthday_confirm.php
index ca7d8243bea41756e6fab757c2bfa7337169fe7f..25e737196b7b3c451850cb8feb9a2afbd02d3825 100644 (file)
@@ -76,7 +76,7 @@ WHERE b.userid=%s AND b.chk_value='%s' LIMIT 1",
                if ($data['status'] == "CONFIRMED") {
                        // Set mode depending on how many mails the member has to confirm
                        $locked = false;
-                       if (($data['ref_payout'] > 0) && (getConfig('allow_direct_pay') == "N")) $locked = true;
+                       if (($data['ref_payout'] > 0) && (getConfig('allow_direct_pay') != "Y")) $locked = true;
 
                        // Add points to account
                        unset($GLOBALS['ref_level']);