diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2014-11-16 22:36:55 +0300 |
---|---|---|
committer | Thomas Steur <tsteur@users.noreply.github.com> | 2014-11-16 22:36:55 +0300 |
commit | 0d967aa37142e388f06d490421acb516a28999a2 (patch) | |
tree | 12f9c802732a5378391d38daf3460e795bcbbb38 /misc | |
parent | 678b7eabb1498b600b8be244b6c8ec0337c12911 (diff) | |
parent | 332af2a3085cf3b35815d1f4b55f9059a627819a (diff) |
Merge pull request #6671 from piwik/6661
Throw HTTP 400 error when idsite is invalid
Diffstat (limited to 'misc')
-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; } |