Permalink
Browse files

Update to using Request::current() method

  • Loading branch information...
1 parent fef3d49 commit b4b9c11e8373a711d2209d7933a484b52a5afd88 @lukemorton committed Jan 5, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 classes/prophet.php
View
@@ -13,10 +13,10 @@ public static function exception_handler(Exception $e)
Kohana::$log->add(Kohana_Log::ERROR, Kohana_Exception::text($e));
if ( ! defined('SUPPRESS_REQUEST'))
- {
+ {
$request = array(
// Get status from current request
- 'action' => Request::$current->status(),
+ 'action' => Request::current()->status(),
// If exception has a message this can be passed on
'message' => rawurlencode($e->getMessage()),

0 comments on commit b4b9c11

Please sign in to comment.