From: Alan Knowles Date: Thu, 14 Jul 2016 05:26:51 +0000 (+0800) Subject: Merge branch 'master' of http://git.roojs.com:8081/Pman.Core X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=1b1e372cba4a69ba05014f8dd243ba04c9dbc030;hp=143eb9b3336fded014bc81dd0db7a5b78e82236d;p=Pman.Core Merge branch 'master' of git.roojs.com:8081/Pman.Core --- diff --git a/NotifySmtpCheck.php b/NotifySmtpCheck.php index cf87c787..886246dd 100644 --- a/NotifySmtpCheck.php +++ b/NotifySmtpCheck.php @@ -45,7 +45,7 @@ class Pman_Core_NotifySmtpCheck extends Pman $e = `$cmd`; - $helo = substr(array_pop(explode(' ', $e)), 0, -1); + $helo = substr(array_pop(explode(' ', $e)), 0, -2); print_R($helo);exit;