Merge pull request #683 from DanielOaks/develop+tiny_taglist_fix
Only show 'Tags' block when there's a tag to put in it
This commit is contained in:
		
						commit
						c57cff7d5d
					
				| @ -118,7 +118,9 @@ class TagListTheme extends Themelet | |||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         if ($config->get_string('tag_list_image_type')=="tags") { |         if ($config->get_string('tag_list_image_type')=="tags") { | ||||||
|  |             if ($main_html != null) { | ||||||
|                 $page->add_block(new Block("Tags", $main_html, "left", 10)); |                 $page->add_block(new Block("Tags", $main_html, "left", 10)); | ||||||
|  |             } | ||||||
|         } else { |         } else { | ||||||
|             $page->add_block(new Block("Related Tags", $main_html, "left", 10)); |             $page->add_block(new Block("Related Tags", $main_html, "left", 10)); | ||||||
|         } |         } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user