Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Steur <thomas.steur@googlemail.com>2014-11-14 02:14:37 +0300
committerThomas Steur <thomas.steur@googlemail.com>2014-11-14 02:35:29 +0300
commit25aace1fb7bf949e2ac18a3ab0e84e84e1d91596 (patch)
treecb9c73461a263baa81317f2cb5a6abdeecad3cc6 /misc/others
parent74436365533366123a78bf646b245116b8c0c565 (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-xmisc/others/geoipUpdateRows.php2
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;
}