fix: LazyVarUpdate unset

This commit is contained in:
2021-09-15 19:06:15 +00:00
committed by Gitea
parent 863a67516e
commit 3433810ed0
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ trait LazyVarUpdater{
function getRaw(bool $extractAux=false):array{
if($extractAux){
$this->getAuxVar('');
}
return $this->raw;
}
@@ -58,7 +58,7 @@ trait LazyVarUpdater{
}
if($var === null){
unset($this->auxVar[$key]);
unset($this->raw['auxVar'][$key]);
$this->auxUpdated = true;
return;
}