improved directory browser and map update check

This commit is contained in:
kremsy
2017-04-11 14:58:17 +02:00
parent 8d7a147295
commit 5b87873aba
3 changed files with 32 additions and 4 deletions

View File

@ -105,10 +105,10 @@ class ManiaExchangeManager implements UsageInformationAble {
}
$index = 0;
foreach ($maps as $map) {
foreach ($maps as &$map) {
if (!$map) {
// TODO: remove after resolving of error report about "non-object"
$this->maniaControl->getErrorHandler()->triggerDebugNotice('Non-Object-Map', $map, $maps);
$this->maniaControl->getErrorHandler()->triggerDebugNotice('Non-Object-Map ' . $map->name);
continue;
}
/** @var Map $map */