X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-theme_edit.php;h=28bf8512e9e7e048f29e109bcedd856b5bbacd17;hp=c815f4398612562cecb2fbcc0908d7813555598f;hb=c78089215285d52d483760699d07a96dfbbe0671;hpb=5a76136d3ab00e158fc9d0ee1b867bc06f9a8fbb diff --git a/inc/modules/admin/what-theme_edit.php b/inc/modules/admin/what-theme_edit.php index c815f43986..28bf8512e9 100644 --- a/inc/modules/admin/what-theme_edit.php +++ b/inc/modules/admin/what-theme_edit.php @@ -45,7 +45,7 @@ ADD_DESCR("admin", __FILE__); // Check for selected themes $SEL = 0; -if (REQUEST_ISSET_POST(('sel'))) $SEL = SELECTION_COUNT(REQUEST_POST('sel')); +if (REQUEST_ISSET_POST('sel')) $SEL = SELECTION_COUNT(REQUEST_POST('sel')); if ($SEL > 0) { $OUT = ""; foreach (REQUEST_POST('sel') as $id => $sel) { @@ -59,7 +59,7 @@ if ($SEL > 0) { $sql = "UPDATE `{!_MYSQL_PREFIX!}_themes` SET theme_active='Y' WHERE id='".$id."' LIMIT 1"; } $OUT = getMessage('ADMIN_THEMES_UPDATED'); - } elseif (REQUEST_ISSET_POST(('del'))) { + } elseif (REQUEST_ISSET_POST('del')) { // Delete themes $sql = "DELETE LOW_PRIORITY FROM `{!_MYSQL_PREFIX!}_themes` WHERE id='".$id."' LIMIT 1"; $OUT = getMessage('ADMIN_THEMES_DELETED');