diff options
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']); } } |