summaryrefslogtreecommitdiffstats
path: root/wp-includes/category-template.php
diff options
context:
space:
mode:
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");