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:58:58 +0300
committerThomas Steur <thomas.steur@googlemail.com>2014-11-14 02:58:58 +0300
commitd0929e8d75a1cb2d2704018b1258633c4b6630bf (patch)
treef07edc3630f1083fbcaac5427d63cae9a4c89221 /core/Tracker.php
parent1430870ba9b7167311d9bfc19bb6195227272c79 (diff)
refs #6661 added a test to make sure it works
Diffstat (limited to 'core/Tracker.php')
-rw-r--r--core/Tracker.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/Tracker.php b/core/Tracker.php
index 6ecad4b3b5..9d7af54c36 100644
--- a/core/Tracker.php
+++ b/core/Tracker.php
@@ -669,7 +669,8 @@ class Tracker
$request = $_GET + $_POST;
if (array_key_exists('send_image', $request) && $request['send_image'] === '0') {
- Common::sendHeader("HTTP/1.1 204 No Response");
+ Common::sendResponseCode(204);
+
return;
}