From 3468480864ea8fd7c874b75cc2d7f01153d22953 Mon Sep 17 00:00:00 2001 From: Pascal 'muhkuh2005' Borkenhagen Date: Mon, 9 Jun 2014 14:07:24 +0000 Subject: [PATCH] Added check to initialize tags, when only categorized tags are available for image --- ext/tag_list/theme.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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"); } } -