Skip to content

Commit

Permalink
Invalid reference to 3.0 method Kohana::exception_text, fixes #3793
Browse files Browse the repository at this point in the history
  • Loading branch information
Woody Gilk committed Mar 10, 2011
1 parent 97fd8ff commit 64f6df1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/kohana/image.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function __toString()
if (is_object(Kohana::$log))
{
// Get the text of the exception
$error = Kohana::exception_text($e);
$error = Kohana_Exception::text($e);

// Add this exception to the log
Kohana::$log->add(Log::ERROR, $error);
Expand Down

0 comments on commit 64f6df1

Please sign in to comment.