diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/rest/libraries/Rest_Exception.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/rest/libraries/Rest_Exception.php b/modules/rest/libraries/Rest_Exception.php index c5baec63..1257e3cf 100644 --- a/modules/rest/libraries/Rest_Exception.php +++ b/modules/rest/libraries/Rest_Exception.php @@ -20,7 +20,7 @@ class Rest_Exception_Core extends Kohana_Exception { var $response = array(); - public function __construct($message, $code, $response) { + public function __construct($message, $code, $response=array()) { parent::__construct($message, null, $code); $this->response = $response; } |