small fix
This commit is contained in:
		
				
					committed by
					
						
						Steffen Schröder
					
				
			
			
				
	
			
			
			
						parent
						
							1beb6ca74d
						
					
				
				
					commit
					616c72c9f9
				
			@@ -181,6 +181,12 @@ class MapManager implements CallbackListener {
 | 
			
		||||
			return;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		if(!isset($uid)) {
 | 
			
		||||
			trigger_error("Error while updating Map, unkown UID: " . $uid);
 | 
			
		||||
			$this->maniaControl->chat->sendError("Error while updating Map.", $admin->login);
 | 
			
		||||
			return;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		$map = $this->maps[$uid];
 | 
			
		||||
		/** @var Map $map */
 | 
			
		||||
		$mxId = $map->mx->id;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user