From c763b8aba5030f0aa5a35ea654e1c0d42b7944ab Mon Sep 17 00:00:00 2001 From: Edward Date: Fri, 18 Jan 2019 15:12:21 +0800 Subject: [PATCH] Fix #5648 - New design for post release report --- Mailer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Mailer.php b/Mailer.php index 23fb8758..af621736 100644 --- a/Mailer.php +++ b/Mailer.php @@ -122,7 +122,7 @@ class Pman_Core_Mailer { $ff = HTML_FlexyFramework::get(); $http_host = isset($_SERVER["HTTP_HOST"]) ? $_SERVER["HTTP_HOST"] : 'pman.HTTP_HOST.not.set'; - if (isset($ff->Pman['HTTP_HOST'])) { + if (isset($ff->Pman['HTTP_HOST']) && $http_host != 'localhost') { $http_host = $ff->Pman['HTTP_HOST']; } -- 2.39.2