just an isset

git-svn-id: http://piwigo.org/svn/trunk@29949 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
flop25 2014-10-09 19:34:50 +00:00
parent 0ffdb98bde
commit 457ae3064c

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