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:
authorFabian Becker <halfdan@xnorfz.de>2014-02-03 19:30:42 +0400
committerFabian Becker <halfdan@xnorfz.de>2014-02-03 19:30:42 +0400
commit6e6a4a283e85d2b26b2328a82f5ea8799751e597 (patch)
treea5f32e9d2365eeedc2c257f36572f1461165348b
parent673ee2eec5f420d61c1ed824844874d13fe4ad47 (diff)
Properly show keywords in DisplayTopKeywords
fixes #4618
-rw-r--r--plugins/Referrers/Controller.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Referrers/Controller.php b/plugins/Referrers/Controller.php
index 897668f467..5c093928a5 100644
--- a/plugins/Referrers/Controller.php
+++ b/plugins/Referrers/Controller.php
@@ -395,7 +395,7 @@ function DisplayTopKeywords($url = "")
$url = htmlspecialchars($url, ENT_QUOTES);
$output = "<h2>Top Keywords for <a href=\'$url\'>$url</a></h2><ul>";
foreach($keywords as $keyword) {
- $output .= "<li>". $keyword[0]. "</li>";
+ $output .= "<li>". $keyword . "</li>";
}
if(empty($keywords)) { $output .= "Nothing yet..."; }
$output .= "</ul>";
@@ -432,7 +432,7 @@ function DisplayTopKeywords($url = "")
$url = htmlspecialchars($url, ENT_QUOTES);
$output = "<h2>Top Keywords for <a href=\'$url\'>$url</a></h2><ul>";
foreach ($keywords as $keyword) {
- $output .= "<li>" . $keyword[0] . "</li>";
+ $output .= "<li>" . $keyword . "</li>";
}
if (empty($keywords)) {
$output .= "Nothing yet...";