small fix
This commit is contained in:
parent
9915f66b0b
commit
3773882cee
@ -224,6 +224,9 @@ class ManiaExchangeManager {
|
||||
return null;
|
||||
}
|
||||
|
||||
if ($mapInfo == '') {
|
||||
return null;
|
||||
}
|
||||
$mxMapList = json_decode($mapInfo);
|
||||
if ($mxMapList === null) {
|
||||
trigger_error('Cannot decode searched JSON data from ' . $url);
|
||||
|
Loading…
Reference in New Issue
Block a user