Check style. Props nickshanks. fixes #3610

git-svn-id: https://develop.svn.wordpress.org/trunk@4774 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2007-01-19 20:58:56 +00:00
parent a41ca94341
commit e842aa31f7
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,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");