Bug fixed in exception handling, #16

git-svn-id: svn+ssh://code.netmonsters.ru/svn/majestic/branches/evo@128 4cb57b5f-5bbd-dd11-951b-001d605cbbc5
This commit is contained in:
pzinovkin
2010-03-15 20:45:58 +00:00
parent d7507149e3
commit 41bc23cfab

View File

@ -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;