]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-payout.php
login bonus will no longer be payed when turned off, "Y/N" rewritten to 'Y/N'
[mailer.git] / inc / modules / member / what-payout.php
index 0431f0e627292a063cfd4421c522d793e186c9f6..87249d1e4f9cad4e1d525f2c2cc22e21c0154022 100644 (file)
@@ -109,7 +109,7 @@ ORDER BY p.payout_timestamp DESC",
                                $status = "<FONT class=\"member_failed\">".$status."</FONT>";
 
                                // Nothing entered must be secured in member/what-payputs.php !
-                               if ($allow == "Y")
+                               if ($allow == 'Y')
                                {
                                        // Banner/Textlink views/clicks request
                                        if (!empty($banner))
@@ -206,7 +206,7 @@ ORDER BY p.payout_timestamp DESC",
                                }
 
                                // Add entry to his tranfer history
-                               if ($allow == "Y")
+                               if ($allow == 'Y')
                                {
                                        // Banner/textlink ordered
                                        $result = SQL_QUERY_ESC("INSERT INTO "._MYSQL_PREFIX."_user_payouts (userid, payout_total, payout_id, payout_timestamp, status, target_url, link_text, banner_url)
@@ -281,7 +281,7 @@ VALUES (0, 'NEW', 'PAYOUT_REQUEST', '[payout:] ".PAYOUT_REQUEST_ADMIN."', '%s',
                                // Load template and output it
                                LOAD_TEMPLATE("admin_settings_saved", false, PAYOUT_REQUEST_SENT);
                        }
-                        elseif ($allow == "Y")
+                        elseif ($allow == 'Y')
                        {
                                // Generate banner order form
                                LOAD_TEMPLATE("member_payout_form_banner");