From 7f793c6cfeaac4bbeae1ac2711ec91bee4f02216 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Sat, 29 Jan 2005 20:14:55 +0000 Subject: [PATCH] Patch from Adi Sieker git-svn-id: http://svn.automattic.com/wordpress/trunk@2160 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/template-functions-category.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/template-functions-category.php b/wp-includes/template-functions-category.php index 2f8eb66bd5..3739ad3cfe 100644 --- a/wp-includes/template-functions-category.php +++ b/wp-includes/template-functions-category.php @@ -322,7 +322,7 @@ function list_cats($optionall = 1, $all = 'All', $sort_column = 'ID', $sort_orde $thelist = ""; foreach ($categories as $category) { - if ((intval($hide_empty) == 0 || isset($category_posts["$category->cat_ID"])) && (!$hierarchical || $category->category_parent == $child_of) && ($children || $category->category_parent == 0)) { + if ((intval($hide_empty) == 0 || isset($category_posts["$category->cat_ID"])) && (!$hierarchical || $category->category_parent == $child_of) ) { $num_found++; $link = 'category_description)) { @@ -353,7 +353,7 @@ function list_cats($optionall = 1, $all = 'All', $sort_column = 'ID', $sort_orde $link .= '>'; if (! empty($feed_image)) { - $link .= "'; + $link .= "'; } else { $link .= $name; }