debug notice to resolve error
This commit is contained in:
		@@ -97,6 +97,11 @@ class ManiaExchangeManager {
 | 
			
		||||
 | 
			
		||||
		$index = 0;
 | 
			
		||||
		foreach ($maps as $map) {
 | 
			
		||||
			if (!$map) {
 | 
			
		||||
				// TODO: remove after resolving of error report about "non-object"
 | 
			
		||||
				$this->maniaControl->errorHandler->triggerDebugNotice('Non-Object-Map: ' . print_r($map, true));
 | 
			
		||||
				continue;
 | 
			
		||||
			}
 | 
			
		||||
			/** @var Map $map */
 | 
			
		||||
			$fetchMapStatement->bind_param('i', $map->index);
 | 
			
		||||
			$fetchMapStatement->execute();
 | 
			
		||||
@@ -356,4 +361,4 @@ class ManiaExchangeManager {
 | 
			
		||||
				return -1;
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user