]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/admin-inc.php
login bonus will no longer be payed when turned off, "Y/N" rewritten to 'Y/N'
[mailer.git] / inc / modules / admin / admin-inc.php
index 0ac017533a5459133065f1e95ba120951d6487e9..258c265a2a1e5e51d2339096d2da5bca8939b6b7 100644 (file)
@@ -715,7 +715,7 @@ function ADMIN_CHECK_MENU_MODE()
 // Change activation status
 function ADMIN_CHANGE_ACTIVATION_STATUS ($IDs, $table, $row, $idRow = "id") {
        global $CONFIG;
-       $cnt = 0; $newStatus = "Y";
+       $cnt = 0; $newStatus = 'Y';
        if ((is_array($IDs)) && (count($IDs) > 0)) {
                // "Walk" all through and count them
                foreach ($IDs as $id=>$selected) {
@@ -732,7 +732,7 @@ function ADMIN_CHANGE_ACTIVATION_STATUS ($IDs, $table, $row, $idRow = "id") {
                                if (SQL_NUMROWS($result) == 1) {
                                        // Load the status
                                        list($currStatus) = SQL_FETCHROW($result);
-                                       if ($currStatus == "Y") $newStatus="N"; else $newStatus = "Y";
+                                       if ($currStatus == 'Y') $newStatus='N'; else $newStatus = 'Y';
 
                                        // Change this status
                                        SQL_QUERY_ESC("UPDATE "._MYSQL_PREFIX."_%s SET %s='%s' WHERE %s=%d LIMIT 1",