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