From 2a8734ed91d0a550b07804dd885ec53c98290eec Mon Sep 17 00:00:00 2001 From: flop25 Date: Wed, 1 Oct 2014 17:59:49 +0000 Subject: 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 --- admin/cat_modify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin/cat_modify.php') 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