]> git.mxchange.org Git - mailer.git/blobdiff - beg.php
login bonus will no longer be payed when turned off, "Y/N" rewritten to 'Y/N'
[mailer.git] / beg.php
diff --git a/beg.php b/beg.php
index 9d5380cb8770979d499b1768242fbd637b8e339b..baffdec97f373fca724e1d3ef7bdfa5fa08623ef 100644 (file)
--- a/beg.php
+++ b/beg.php
@@ -145,10 +145,10 @@ if (defined('mxchange_installed') && (mxchange_installed))
 
                                // Set mode depending on how many mails the member has to confirm
                                $locked = false;
-                               if (($ref_payout > 0) && ($CONFIG['allow_direct_pay'] == "N")) $locked = true;
+                               if (($ref_payout > 0) && ($CONFIG['allow_direct_pay'] == 'N')) $locked = true;
 
                                // Is begging rallye active?
-                               if ($CONFIG['beg_rallye'] == "Y")
+                               if ($CONFIG['beg_rallye'] == 'Y')
                                {
                                        // Add points to rallye account
                                        $result = SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_user_data SET beg_points=beg_points+%s WHERE userid=%d LIMIT 1",