Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Update to using Request::current() method

  • Loading branch information...
commit b4b9c11e8373a711d2209d7933a484b52a5afd88 1 parent fef3d49
Luke Morton authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 classes/prophet.php
4 classes/prophet.php
@@ -13,10 +13,10 @@ public static function exception_handler(Exception $e)
13 13 Kohana::$log->add(Kohana_Log::ERROR, Kohana_Exception::text($e));
14 14
15 15 if ( ! defined('SUPPRESS_REQUEST'))
16   - {
  16 + {
17 17 $request = array(
18 18 // Get status from current request
19   - 'action' => Request::$current->status(),
  19 + 'action' => Request::current()->status(),
20 20
21 21 // If exception has a message this can be passed on
22 22 'message' => rawurlencode($e->getMessage()),

0 comments on commit b4b9c11

Please sign in to comment.
Something went wrong with that request. Please try again.