Skip to content

Commit bc0d10c

Browse files
committed
Update BackendController.php
1 parent 6a919cd commit bc0d10c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/BackendController.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,10 @@ public function __construct(array $content = [])
2727
{
2828
// Set view global content
2929
$id = (int)$this->getSession('userId');
30-
$content = $this->mergeArray([
30+
$this->setContent($this->mergeArray([
3131
'user' => (new User)->get($id),
3232
'execution' => Debugger::getExecutionTime()
33-
], $content);
34-
$this->setContent($content);
33+
], $content));
3534

3635
// Allow non-blocking requests
3736
$this->closeSession();

0 commit comments

Comments
 (0)