Check style. Props nickshanks. fixes #3610

git-svn-id: http://svn.automattic.com/wordpress/trunk@4774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2007-01-19 20:58:56 +00:00
parent 425d2f70b1
commit 9ec6d7e762
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");