removed weird != null comparing
(why are you doing this??)
This commit is contained in:
@ -248,9 +248,9 @@ class ManiaExchangeManager{
|
||||
|
||||
$maps = array();
|
||||
foreach($mxMapList as $map) {
|
||||
if ($map != null) {
|
||||
if ($map) {
|
||||
$mxMapObject = new MXMapInfo($titlePrefix, $map);
|
||||
if ($mxMapObject != null) {
|
||||
if ($mxMapObject) {
|
||||
array_push($maps, $mxMapObject);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user