aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2014-10-01 18:06:45 +0000
committerflop25 <flop25@piwigo.org>2014-10-01 18:06:45 +0000
commit5ad27a59d3467330e3f7fe4a2d9ffea43b840ab6 (patch)
tree2353ff1768974e991a01dbe69f2068b5c5488900 /admin
parentbf786b038ec6f56f12f6ed09899147705b0d8b50 (diff)
Merged revision(s) 29857 from trunk/admin:
feature:3126 no more notice should be displayed thx to rvelices for the report! git-svn-id: http://piwigo.org/svn/branches/2.7@29858 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-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 = '