aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2014-10-09 19:34:50 +0000
committerflop25 <flop25@piwigo.org>2014-10-09 19:34:50 +0000
commit457ae3064cf26f3084dbdb4815684fa1bae4a580 (patch)
tree9176106491d0265b7d1559eb7192252b2976fd25
parent0ffdb98bde4b74af7930616aec3c49ed98f9f33c (diff)
bug:3126
just an isset git-svn-id: http://piwigo.org/svn/trunk@29949 68402e56-0260-453c-a942-63ccdbb3a9ee
-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 7bcf52653..3cf8239c1 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'] and isset($_POST['apply_commentable_on_sub']))
+ if (isset($_POST['apply_commentable_on_sub']))
{
$subcats = get_subcat_ids(array('id' => $data['id']));
$query = '