fix: LazyVarUpdate unset

This commit is contained in:
Hide_D authored and Gitea committed 2021-09-15 19:06:15 +00:00
1 parent 942b2752f5
commit 8dc567f966
2 files changed
+3 -3

No files matched your search

+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;
}