Kohana v3.3.2
This commit is contained in:
@@ -232,10 +232,10 @@ class Kohana_View {
|
||||
/**
|
||||
* Display the exception message.
|
||||
*
|
||||
* We use this method here because it's impossible to throw and
|
||||
* We use this method here because it's impossible to throw an
|
||||
* exception from __toString().
|
||||
*/
|
||||
$error_response = Kohana_exception::_handler($e);
|
||||
$error_response = Kohana_Exception::_handler($e);
|
||||
|
||||
return $error_response->body();
|
||||
}
|
||||
@@ -348,4 +348,4 @@ class Kohana_View {
|
||||
return View::capture($this->_file, $this->_data);
|
||||
}
|
||||
|
||||
} // End View
|
||||
}
|
||||
|
Reference in New Issue
Block a user