summaryrefslogtreecommitdiff
path: root/modules/comment/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/helpers')
-rw-r--r--modules/comment/helpers/comment.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/helpers/comment.php b/modules/comment/helpers/comment.php
index 1739497c..2d25df3f 100644
--- a/modules/comment/helpers/comment.php
+++ b/modules/comment/helpers/comment.php
@@ -112,7 +112,7 @@ class Comment_Core {
->find_all();
if (!$comments->count()) {
- header("HTTP/1.1 400 Bad Request");
+ rest::http_status(rest::BAD_REQUEST);
return;
}