Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed error display

  • Loading branch information...
commit 46c0f032db1fd8ac20e0a4bc447ae5435bbcb94e 1 parent 8325e28
@jarnix authored
View
2  library/php/classes/Nf/Error/Handler.php
@@ -7,7 +7,7 @@ class Handler extends \Exception
static $lastError = array(
'type' => 'error',
'httpCode' => 0,
- 'string' => '',
+ 'message' => '',
'number' => 0,
'file' => '',
'line' => 0,
View
2  library/php/classes/Nf/Front/Response/AbstractResponse.php
@@ -59,7 +59,7 @@ protected static function displayErrorHelper($err)
if ($err['type'] == 'exception') {
- echo static::escape($err['string']) . static::NEWLINE;
+ echo static::escape($err['message']) . static::NEWLINE;
$stackLen = count($stack);
for ($i = 1; $i < $stackLen; $i ++) {
Please sign in to comment.
Something went wrong with that request. Please try again.