login bonus will no longer be payed when turned off, "Y/N" rewritten to 'Y/N'
[mailer.git] / inc / modules / admin / what-send_bonus.php
index fccbb061a5ca54451862af2a113e6cd5b4525947..ef60bdb2b0d98f051a6d3e381f0f04e91ef624f8 100644 (file)
@@ -93,8 +93,8 @@ if (isset($_POST['ok']))
                // Gettings points is oka, so we can add $USED later from
                if ($EXT_HTML)
                {
-                       $HTML = "N";
-                       if ($_GET['mode'] == "html") $HTML = "Y";
+                       $HTML = 'N';
+                       if ($_GET['mode'] == "html") $HTML = 'Y';
                        $result = SQL_QUERY_ESC("INSERT INTO "._MYSQL_PREFIX."_bonus
 (subject, text, receivers, points, time, data_type, timestamp, url, cat_id, target_send, mails_sent, html_msg)
 VALUES ('%s', '%s', '%s', '%s', '%s', 'NEW', UNIX_TIMESTAMP(), '%s', '%s', '%s', '%s', '%s')",