diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-06-19 14:13:34 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-06-19 14:13:34 -0700 |
commit | cd96ed887323c4006fa1a2008f153937cfa2f0ea (patch) | |
tree | 9daa1eb64e1b53d26429ec514f02bda8b38974c3 /modules/rest/libraries | |
parent | 456d54ea2dccbe55a2efd89ecb4bde29fb91b619 (diff) |
$response is optional in the Rest_Exception constructor.
Diffstat (limited to 'modules/rest/libraries')
-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; } |