diff --git a/src/Application/UI/Component.php b/src/Application/UI/Component.php index 2023296e9..a8cddcd61 100644 --- a/src/Application/UI/Component.php +++ b/src/Application/UI/Component.php @@ -173,9 +173,9 @@ public function loadState(array $params): void )); } - $this->$name = $params[$name]; + $this->$name = &$params[$name]; } else { - $params[$name] = $this->$name ?? null; + $params[$name] = &$this->$name; } }