Skip to content

Commit

Permalink
bug:3126
Browse files Browse the repository at this point in the history
just an isset

git-svn-id: http://piwigo.org/svn/trunk@29949 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
flop25 committed Oct 9, 2014
1 parent 0ffdb98 commit 457ae30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/cat_modify.php
Expand Up @@ -132,7 +132,7 @@ function get_site_url($category_id)
$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 = '
Expand Down

0 comments on commit 457ae30

Please sign in to comment.