X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=NotifySmtpCheck.php;h=886246dd3f0fa1b3a79f28ed225f133e4688a311;hb=6777f586b1f8ccdfc288d6e6385b2f0ac4937166;hp=cf87c7871fd483df7b49ee323b72824fcaa3a7e3;hpb=d54f2bc6481d2ea7f3317b231977f0debe8e0fdb;p=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;