We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6a003b commit cda17f4Copy full SHA for cda17f4
src/Application/UI/PresenterComponent.php
@@ -145,9 +145,9 @@ public function loadState(array $params)
145
if (!$reflection->convertType($params[$name], $type)) {
146
throw new Nette\Application\BadRequestException("Invalid value for persistent parameter '$name' in '{$this->getName()}', expected " . ($type === 'NULL' ? 'scalar' : $type) . ".");
147
}
148
- $this->$name = & $params[$name];
+ $this->$name = $params[$name];
149
} else {
150
- $params[$name] = & $this->$name;
+ $params[$name] = $this->$name;
151
152
153
$this->params = $params;
0 commit comments