From 5ad27a59d3467330e3f7fe4a2d9ffea43b840ab6 Mon Sep 17 00:00:00 2001 From: flop25 Date: Wed, 1 Oct 2014 18:06:45 +0000 Subject: 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 --- admin/cat_modify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = ' -- cgit v1.2.3