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:
authorsgiehl <stefan@piwik.org>2013-04-16 00:54:44 +0400
committersgiehl <stefan@piwik.org>2013-04-16 00:54:44 +0400
commit9ea00b762951f629d357cf4b1b8858edaa438591 (patch)
tree47d9dde15cffd2a2ca55ecf071f2805918c5e6d1
parentab47c5a8094b34388ac8aade1fd65d93abe4b847 (diff)
refs #3827 fixes incorrect icons. url needs to be cleaned for icons in flat mode
-rw-r--r--plugins/Referers/functions.php2
-rw-r--r--plugins/Referers/images/socials/xx.pngbin0 -> 265 bytes
2 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Referers/functions.php b/plugins/Referers/functions.php
index 28faab9885..c7d69386c7 100644
--- a/plugins/Referers/functions.php
+++ b/plugins/Referers/functions.php
@@ -84,6 +84,8 @@ function Piwik_Referrers_isSocialUrl($url, $socialName = false)
*/
function Piwik_getSocialsLogoFromUrl($domain)
{
+ $domain = Piwik_Referrers_cleanSocialUrl($domain);
+
if (isset($GLOBALS['Piwik_socialUrl'][$domain])) {
// image names are by first domain in list, so make sure we use the first if $domain isn't it
$firstDomain = $domain;
diff --git a/plugins/Referers/images/socials/xx.png b/plugins/Referers/images/socials/xx.png
new file mode 100644
index 0000000000..fe2401be73
--- /dev/null
+++ b/plugins/Referers/images/socials/xx.png
Binary files differ