how did this ever work o_O
This commit is contained in:
		
							parent
							
								
									21904794ea
								
							
						
					
					
						commit
						c1aa6f4fbb
					
				| @ -83,6 +83,7 @@ class Oekaki extends SimpleExtension { | |||||||
| 
 | 
 | ||||||
| 	// FIXME: "edit this image" button on existing images?
 | 	// FIXME: "edit this image" button on existing images?
 | ||||||
| 	function onPostListBuilding($event) { | 	function onPostListBuilding($event) { | ||||||
|  | 		global $user, $page; | ||||||
| 		if($this->can_upload($user)) { | 		if($this->can_upload($user)) { | ||||||
| 			$this->theme->display_block($page); | 			$this->theme->display_block($page); | ||||||
| 		} | 		} | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user