aboutsummaryrefslogtreecommitdiffstats
path: root/comments.php
diff options
context:
space:
mode:
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);
}