fix login...
This commit is contained in:
		
							parent
							
								
									d240a29aa9
								
							
						
					
					
						commit
						ca675fcbb0
					
				@ -125,7 +125,7 @@ class UserPage extends SimpleExtension {
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	public function onUserPageBuilding(Event $event) {
 | 
			
		||||
		global $user, $config;
 | 
			
		||||
		global $page, $user, $config;
 | 
			
		||||
		$this->theme->display_user_page($page, $event->display_user, $user);
 | 
			
		||||
		if($user->id == $event->display_user->id) {
 | 
			
		||||
			$ubbe = new UserBlockBuildingEvent();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user