Skip to content

Commit

Permalink
private data access fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
s3b4stian committed Oct 4, 2017
1 parent 308a1bb commit 98843d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Views/E404View.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function __construct(NullModel $model, Authenticate $login, HtmlTemplate
parent::__construct($model);

//merge data passed from model with login information
$this->data = array_merge($this->data, ['login' => $login->logged, 'userName' => $login->getLoginData()['user_name']]);
$this->data = array_merge($this->data, ['login' => $login->islogged(), 'userName' => $login->getLoginData()['user_name']]);

//store html template
$this->template = $htmlTemplate;
Expand Down

0 comments on commit 98843d5

Please sign in to comment.