Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
#12 apply fix for route:list command
  • Loading branch information
jorenvh committed Jun 2, 2016
1 parent 177378a commit 6121073
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Controllers/Admin/DashboardController.php
Expand Up @@ -68,7 +68,9 @@ public function __construct(
$this->comment = $comment;
$this->tracert = $tracert;

$this->{"buildDataArrayFor".$this->auth_user->role->name}();
if ($this->auth_user) {
$this->{"buildDataArrayFor".$this->auth_user->role->name}();
}
}

///////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 6121073

Please sign in to comment.