summaryrefslogtreecommitdiffstats
path: root/wp-includes/category-template.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-01-22 11:44:06 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-01-22 11:44:06 +0000
commitb2f9804dae80c5f6c70c70e92a3bbde67e2615c5 (patch)
tree7615f215a90e4c797702547dab832d30887a0a54 /wp-includes/category-template.php
parent4e71faf4fa1a98517df1c83be342dd3714f504d2 (diff)
downloadwordpress-mu-b2f9804dae80c5f6c70c70e92a3bbde67e2615c5.tar.gz
wordpress-mu-b2f9804dae80c5f6c70c70e92a3bbde67e2615c5.tar.xz
wordpress-mu-b2f9804dae80c5f6c70c70e92a3bbde67e2615c5.zip
WP Merge to 4780
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@854 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/category-template.php')
-rw-r--r--wp-includes/category-template.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php
index b5954c5..e7eef22 100644
--- a/wp-includes/category-template.php
+++ b/wp-includes/category-template.php
@@ -237,7 +237,7 @@ function wp_list_categories($args = '') {
$output = '<li class="categories">' . $r['title_li'] . '<ul>';
if ( empty($categories) ) {
- if ( $list)
+ if ( 'list' == $style )
$output .= '<li>' . __("No categories") . '</li>';
else
$output .= __("No categories");