Password reset for admin login added (still buggy if cache is installed and sql_patch...
[mailer.git] / inc / modules / admin / what-theme_edit.php
index 538a432e45eb3bb81c21d02812d8e66ba5c6faad..4c8efdaf4c47a313464a0dafd0803b86f12bfcc6 100644 (file)
@@ -52,7 +52,7 @@ if ($SEL > 0) {
                // Shall I de-/activate or delete themes?
                if (isset($_POST['status'])) {
                        // Change status
-                       if ($_POST['active'][$id] == 'Y') {
+                       if ($_POST['active'][$id] == "Y") {
                                $SQL = "UPDATE "._MYSQL_PREFIX."_themes SET theme_active='N' WHERE id='".$id."' LIMIT 1";
                        } else {
                                $SQL = "UPDATE "._MYSQL_PREFIX."_themes SET theme_active='Y' WHERE id='".$id."' LIMIT 1";