diff --git a/despote/kernel/ErrCatch.php b/despote/kernel/ErrCatch.php index 93f03cc..53c939f 100644 --- a/despote/kernel/ErrCatch.php +++ b/despote/kernel/ErrCatch.php @@ -77,7 +77,7 @@ public function onShutdown() $error = error_get_last(); if ($error) { - $this->display($error['type'], $error['message'], $error['file'], $error['line']); + $this->display('error', $error['message'], $error['file'], $error['line']); } }