Flight search error
This commit is contained in:
@@ -30,7 +30,9 @@ class SimBrief extends Resource
|
|||||||
// Invalid fare data
|
// Invalid fare data
|
||||||
}
|
}
|
||||||
|
|
||||||
$data['subfleet'] = new Subfleet($this->aircraft->subfleet);
|
if ($this->aircraft->subfleet) {
|
||||||
|
$data['subfleet'] = new Subfleet($this->aircraft->subfleet);
|
||||||
|
}
|
||||||
|
|
||||||
return $data;
|
return $data;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user