summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 505c2e7a..aa5b3281 100644
--- a/modules/rest/libraries/Rest_Exception.php
+++ b/modules/rest/libraries/Rest_Exception.php
@@ -24,7 +24,7 @@ class Rest_Exception_Core extends Kohana_Exception {
public function sendHeaders() {
if (!headers_sent()) {
- header("HTTP/1.1 " . $this->getCode() . " " . $this->getMessage());
+ header("HTTP/1.1 " . $this->getCode() . "Bad Request");
}
}
} \ No newline at end of file