Added check to initialize tags, when only categorized tags are available for image
This commit is contained in:
parent
07cd38d34c
commit
3468480864
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user