// 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";