diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-11-14 02:14:37 +0300 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-11-14 02:35:29 +0300 |
commit | 25aace1fb7bf949e2ac18a3ab0e84e84e1d91596 (patch) | |
tree | cb9c73461a263baa81317f2cb5a6abdeecad3cc6 /misc/others | |
parent | 74436365533366123a78bf646b245116b8c0c565 (diff) |
refs #6661 initial work on triggering a 400 bad request instead of 500 in case Idsite is wrong
Diffstat (limited to 'misc/others')
-rwxr-xr-x | misc/others/geoipUpdateRows.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/others/geoipUpdateRows.php b/misc/others/geoipUpdateRows.php index 5f36ed5e7d..76f31115cb 100755 --- a/misc/others/geoipUpdateRows.php +++ b/misc/others/geoipUpdateRows.php @@ -87,7 +87,7 @@ if (!Common::isPhpCliMode()) { function geoipUpdateError($message) { Log::error($message); - Common::sendHeader('HTTP/1.1 500 Internal Server Error', $replace = true, $responseCode = 500); + Common::sendResponseCode(500); exit; } |