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-02-11 04:23:17 +0400
committerThomas Steur <thomas.steur@googlemail.com>2014-02-11 04:23:17 +0400
commit113e403a9e5a6ccab2762fc321382b540b51f8d9 (patch)
tree90f778d5dffcad8b2540c74215a40cad100e04a3 /core/Http.php
parent279a4d6978dd5ddcbb39b4e703bd6fdfb6a170b7 (diff)
refs #4610 tests for cliMulti and loads of bugfixes
Diffstat (limited to 'core/Http.php')
-rw-r--r--core/Http.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Http.php b/core/Http.php
index abd8db42ff..b1f417db97 100644
--- a/core/Http.php
+++ b/core/Http.php
@@ -364,7 +364,7 @@ class Http
$cliMulti = new CliMulti();
$responses = $cliMulti->request(array($aUrl));
- $response = $responses[$aUrl];
+ $response = !empty($responses) ? array_shift($responses) : null;
$status = 200;
$headers = array();