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 88f1d16 commit 415903cCopy full SHA for 415903c
1 file changed
src/Http/Session.php
@@ -104,7 +104,7 @@ public function start(): void
104
}
105
106
$this->initialize();
107
- $this->onStart($this);
+ Nette\Utils\Arrays::invoke($this->onStart, $this);
108
109
110
@@ -330,7 +330,7 @@ public function clean(): void
330
return;
331
332
333
- $this->onBeforeWrite($this);
+ Nette\Utils\Arrays::invoke($this->onBeforeWrite, $this);
334
335
$nf = &$_SESSION['__NF'];
336
foreach ($nf['META'] ?? [] as $name => $foo) {
0 commit comments