how did this work in the first place? x_x
This commit is contained in:
		
							parent
							
								
									1087409364
								
							
						
					
					
						commit
						2f7565cbcb
					
				@ -97,7 +97,7 @@ class AdminPage implements Extension {
 | 
				
			|||||||
		$database->Execute("
 | 
							$database->Execute("
 | 
				
			||||||
			UPDATE tags
 | 
								UPDATE tags
 | 
				
			||||||
			SET count = COALESCE(
 | 
								SET count = COALESCE(
 | 
				
			||||||
				SELECT COUNT(image_id) FROM image_tags WHERE tag_id=tags.id GROUP BY tag_id,
 | 
									(SELECT COUNT(image_id) FROM image_tags WHERE tag_id=tags.id GROUP BY tag_id),
 | 
				
			||||||
				0
 | 
									0
 | 
				
			||||||
			)");
 | 
								)");
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user