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
This commit is contained in:
flop25
2014-10-09 19:35:50 +00:00
parent 2a839be3b6
commit e9a154291c

View File

@@ -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 = '