aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/cat_modify.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/cat_modify.php b/admin/cat_modify.php
index c2d47fb51..7bcf52653 100644
--- a/admin/cat_modify.php
+++ b/admin/cat_modify.php
@@ -132,7 +132,7 @@ if (isset($_POST['submit']))
$data,
array('id' => $data['id'])
);
- if ($_POST['apply_commentable_on_sub'])
+ if ($_POST['apply_commentable_on_sub'] and isset($_POST['apply_commentable_on_sub']))
{
$subcats = get_subcat_ids(array('id' => $data['id']));
$query = '