aboutsummaryrefslogtreecommitdiffstats
path: root/comments.php
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2011-03-14 17:14:01 +0000
committerflop25 <flop25@piwigo.org>2011-03-14 17:14:01 +0000
commitbfae35d070e0986697ece4bd10915d6484d36094 (patch)
tree6ffef3c9b45b57555a03ce9756dbaf2bb41bd820 /comments.php
parent37487c4bdd64b912508161886e41e09b2477d27c (diff)
bug:2221
git-svn-id: http://piwigo.org/svn/trunk@9679 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'comments.php')
-rw-r--r--comments.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/comments.php b/comments.php
index 4d9bf728a..3fbeef8bb 100644
--- a/comments.php
+++ b/comments.php
@@ -107,7 +107,7 @@ if (isset($_GET['cat']) and 0 != $_GET['cat'])
check_input_parameter('cat', $_GET, false, PATTERN_ID);
$category_ids = get_subcat_ids(array($_GET['cat']));
- if (empty($category_id))
+ if (empty($category_ids))
{
$category_ids = array(-1);
}