diff options
| author | Juuso Lapinlampi <wub@partyvan.eu> | 2016-05-29 10:56:12 +0200 |
|---|---|---|
| committer | Juuso Lapinlampi <wub@partyvan.eu> | 2016-05-29 10:56:12 +0200 |
| commit | 93e1720e09851baa182ec991c1f0982745a892a6 (patch) | |
| tree | 65269afa0053f1540cd54a987e865390706fc897 /static/classes/Response.class.php | |
| parent | a17e45bc89c636ebd3bd11896ae5dd1ac10ee8fe (diff) | |
| parent | 3b200ddeb93cae7410a89f5c334dfc16209b0ff6 (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-x | static/classes/Response.class.php | 2 |
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; } |
