summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/php/classes/Response.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/php/classes/Response.class.php b/static/php/classes/Response.class.php
index 8a8e8b1..6238007 100644
--- a/static/php/classes/Response.class.php
+++ b/static/php/classes/Response.class.php
@@ -80,7 +80,7 @@ class Response
break;
}
- http_response_code(500); // "500 Internal Server Error"
+ http_response_code($code);
echo $response;
}