diff --git a/app/ErrorAction.php b/app/ErrorAction.php index 1ab501d..8fc15dc 100644 --- a/app/ErrorAction.php +++ b/app/ErrorAction.php @@ -15,7 +15,7 @@ class ErrorAction extends Action /** * @var ErrorException */ - protected $exception; + public $exception; public function __construct($exception) { @@ -54,7 +54,7 @@ class ErrorAction extends Action protected function logError() { - if ($this->template = 500) { + if ($this->template == 500) { $error = 0; $ex = $this->exception;