mirror of
https://github.com/daledavies/jump.git
synced 2026-02-26 00:00:46 +01:00
Fix usassigned property error in Sites()
This commit is contained in:
@@ -88,7 +88,9 @@ class Sites {
|
||||
// Now check for the newer format.
|
||||
if (isset($decodedjson->sites) && is_array($decodedjson->sites)) {
|
||||
$allsites = $decodedjson->sites;
|
||||
$this->default = (array) $decodedjson->default;
|
||||
if (isset($decodedjson->default)) {
|
||||
$this->default = (array) $decodedjson->default;
|
||||
}
|
||||
}
|
||||
|
||||
// Instantiate an actual Site() object for each element.
|
||||
|
||||
Reference in New Issue
Block a user