Fixes for sql_patches removal vs. password reset of admin
[mailer.git] / inc / modules / member / what-payout.php
index c7eb1fbaf6a3546b89e5fe067497e0851d79cfc7..3ed797f332370ec48011270ee23c4c9b18c3cdfe 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");