small fix
This commit is contained in:
parent
b6f5fc5686
commit
5ed1a874dd
@ -233,7 +233,10 @@ class ManiaExchangeManager {
|
|||||||
$maps = array();
|
$maps = array();
|
||||||
foreach($mxMapList as $map) {
|
foreach($mxMapList as $map) {
|
||||||
if ($map != null) {
|
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