From ae71bc82304f7d25490acce6f1e55a6d97a37206 Mon Sep 17 00:00:00 2001 From: Thomas Steur Date: Mon, 11 Jan 2016 02:56:12 +0000 Subject: Do not overwrite piwikUrl when host is localhost --- core/Mail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/Mail.php') 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']); } } -- cgit v1.2.3