diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2016-01-11 05:56:12 +0300 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2016-01-11 06:43:58 +0300 |
commit | ae71bc82304f7d25490acce6f1e55a6d97a37206 (patch) | |
tree | 2306039989ae6d5b6b9faee4a00b9bf6de0b78f0 /core/Mail.php | |
parent | 41b743af65b1b67c49022790f9b1afae79192e3f (diff) |
Do not overwrite piwikUrl when host is localhost
Diffstat (limited to 'core/Mail.php')
-rw-r--r-- | core/Mail.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Mail.php b/core/Mail.php index 22843b5a76..454fcd377c 100644 --- a/core/Mail.php +++ b/core/Mail.php @@ -152,6 +152,6 @@ class Mail extends Zend_Mail */ protected function isHostDefinedAndNotLocal($url) { - return isset($url['host']) && !in_array($url['host'], Url::getLocalHostnames(), true); + return isset($url['host']) && !Url::isLocalHost($url['host']); } } |