diff --git a/ext/tag_list/theme.php b/ext/tag_list/theme.php index 525330e2..ed6d2984 100644 --- a/ext/tag_list/theme.php +++ b/ext/tag_list/theme.php @@ -62,7 +62,7 @@ class TagListTheme extends Themelet { } asort($tag_categories_html); - $main_html = $tag_categories_html[' ']; + if(isset($tag_categories_html[' '])) $main_html = $tag_categories_html[' ']; else $main_html = null; unset($tag_categories_html[' ']); foreach(array_keys($tag_categories_html) as $category) { @@ -272,4 +272,3 @@ class TagListTheme extends Themelet { return make_link("post/list/$u_tag/1"); } } -