aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2014-10-01 17:59:49 +0000
committerflop25 <flop25@piwigo.org>2014-10-01 17:59:49 +0000
commit2a8734ed91d0a550b07804dd885ec53c98290eec (patch)
tree9affccc6a3203f4c60def2edc8aae0040ef38df6 /admin
parent9d5144b0f83e2d0beb01a5b4d71dcd1560893bbb (diff)
feature:3126 no more notice should be displayed
thx to rvelices for the report! git-svn-id: http://piwigo.org/svn/trunk@29857 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 = '