From e9a154291c9769a4a12e84ea72fa8cb753343431 Mon Sep 17 00:00:00 2001 From: flop25 Date: Thu, 9 Oct 2014 19:35:50 +0000 Subject: Merged revision(s) 29949 from trunk: bug:3126 just an isset git-svn-id: http://piwigo.org/svn/branches/2.7@29950 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/cat_modify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'admin') 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 = ' -- cgit v1.2.3