summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-06-19 14:13:34 -0700
committerBharat Mediratta <bharat@menalto.com>2010-06-19 14:13:34 -0700
commitcd96ed887323c4006fa1a2008f153937cfa2f0ea (patch)
tree9daa1eb64e1b53d26429ec514f02bda8b38974c3
parent456d54ea2dccbe55a2efd89ecb4bde29fb91b619 (diff)
$response is optional in the Rest_Exception constructor.
-rw-r--r--modules/rest/libraries/Rest_Exception.php2
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;
}