diff options
author | sgiehl <stefan@piwik.org> | 2013-04-16 00:54:44 +0400 |
---|---|---|
committer | sgiehl <stefan@piwik.org> | 2013-04-16 00:54:44 +0400 |
commit | 9ea00b762951f629d357cf4b1b8858edaa438591 (patch) | |
tree | 47d9dde15cffd2a2ca55ecf071f2805918c5e6d1 | |
parent | ab47c5a8094b34388ac8aade1fd65d93abe4b847 (diff) |
refs #3827 fixes incorrect icons. url needs to be cleaned for icons in flat mode
-rw-r--r-- | plugins/Referers/functions.php | 2 | ||||
-rw-r--r-- | plugins/Referers/images/socials/xx.png | bin | 0 -> 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 Binary files differnew file mode 100644 index 0000000000..fe2401be73 --- /dev/null +++ b/plugins/Referers/images/socials/xx.png |