small fix
This commit is contained in:
parent
b6f5fc5686
commit
5ed1a874dd
@ -233,7 +233,10 @@ class ManiaExchangeManager {
|
||||
$maps = array();
|
||||
foreach($mxMapList as $map) {
|
||||
if ($map != null) {
|
||||
array_push($maps, new MXMapInfo($titlePrefix, $map));
|
||||
$mxMapObject = new MXMapInfo($titlePrefix, $map);
|
||||
if ($mxMapObject != null) {
|
||||
array_push($maps, $mxMapObject);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user