Updated method in \ncc\Objects\Project > Project > fromArray() to invoke toArray() on UpdateSource if it's not null.
This commit is contained in:
parent
a25f1e0c2a
commit
856db39f9a
1 changed files with 3 additions and 1 deletions
|
@ -70,7 +70,9 @@
|
|||
|
||||
$ReturnResults[($bytecode ? Functions::cbc('compiler') : 'compiler')] = $this->Compiler->toArray($bytecode);
|
||||
$ReturnResults[($bytecode ? Functions::cbc('options') : 'options')] = $this->Options;
|
||||
$ReturnResults[($bytecode ? Functions::cbc('update_source') : 'update_source')] = $this->UpdateSource->toArray($bytecode);
|
||||
|
||||
if($this->UpdateSource !== null)
|
||||
$ReturnResults[($bytecode ? Functions::cbc('update_source') : 'update_source')] = $this->UpdateSource->toArray($bytecode);
|
||||
|
||||
return $ReturnResults;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue