summaryrefslogtreecommitdiff
path: root/static/classes/Response.class.php
diff options
context:
space:
mode:
authorJuuso Lapinlampi <wub@partyvan.eu>2016-05-29 10:56:12 +0200
committerJuuso Lapinlampi <wub@partyvan.eu>2016-05-29 10:56:12 +0200
commit93e1720e09851baa182ec991c1f0982745a892a6 (patch)
tree65269afa0053f1540cd54a987e865390706fc897 /static/classes/Response.class.php
parenta17e45bc89c636ebd3bd11896ae5dd1ac10ee8fe (diff)
parent3b200ddeb93cae7410a89f5c334dfc16209b0ff6 (diff)
Merge branch 'maint'
Sync with Pomf 2.0.x maint branch. - Response: Return 500 Internal Server Error on error()
Diffstat (limited to 'static/classes/Response.class.php')
-rwxr-xr-xstatic/classes/Response.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/classes/Response.class.php b/static/classes/Response.class.php
index 081baa6..48b9b58 100755
--- a/static/classes/Response.class.php
+++ b/static/classes/Response.class.php
@@ -108,7 +108,7 @@ class Response
break;
}
- http_response_code($code);
+ http_response_code(500); // "500 Internal Server Error"
echo $response;
}