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
path: root/misc
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2014-11-16 22:36:55 +0300
committerThomas Steur <tsteur@users.noreply.github.com>2014-11-16 22:36:55 +0300
commit0d967aa37142e388f06d490421acb516a28999a2 (patch)
tree12f9c802732a5378391d38daf3460e795bcbbb38 /misc
parent678b7eabb1498b600b8be244b6c8ec0337c12911 (diff)
parent332af2a3085cf3b35815d1f4b55f9059a627819a (diff)
Merge pull request #6671 from piwik/6661
Throw HTTP 400 error when idsite is invalid
Diffstat (limited to 'misc')
-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;
}