Merge pull request #433 from muhkuh2005/master

Added check to initialize tags, when only categorized tags are available...
This commit is contained in:
Shish 2014-06-09 16:32:34 +01:00
commit 196e4d5300

View file

@ -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");
}
}