workaround mx bug (tgyoshi, will fix it on mx the next 1-2 days)

This commit is contained in:
kremsy 2014-02-16 13:24:31 +01:00 committed by Steffen Schröder
parent 2e6fb3a870
commit deeb05e681

View File

@ -36,10 +36,10 @@ class MXMapInfo {
if ($this->prefix == 'tm' || !property_exists($mx, "MapID")) {
$this->id = $mx->TrackID;
$this->uid = $mx->TrackUID;
$this->uid = isset($mx->TrackUID) ? $mx->TrackUID : '';
} else {
$this->id = $mx->MapID;
$this->uid = $mx->MapUID;
$this->uid = isset($mx->MapUID) ? $mx->MapUID : '';
}
if (!isset($mx->GbxMapName) || $mx->GbxMapName == '?') {