From bfae35d070e0986697ece4bd10915d6484d36094 Mon Sep 17 00:00:00 2001 From: flop25 Date: Mon, 14 Mar 2011 17:14:01 +0000 Subject: bug:2221 git-svn-id: http://piwigo.org/svn/trunk@9679 68402e56-0260-453c-a942-63ccdbb3a9ee --- comments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'comments.php') 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); } -- cgit v1.2.3