mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 00:31:58 +01:00
smarthost display fix
This commit is contained in:
parent
52025d6316
commit
ce394f527d
@ -37,7 +37,9 @@ class ControllerHealthWorker extends Controller {
|
||||
|
||||
|
||||
foreach (Registry::get('health_smtp_servers') as $smtp) {
|
||||
$this->data['health'][] = $this->model_health_health->checksmtp($smtp, $lang->data['text_error']);
|
||||
if($smtp[0]) {
|
||||
$this->data['health'][] = $this->model_health_health->checksmtp($smtp, $lang->data['text_error']);
|
||||
}
|
||||
}
|
||||
|
||||
if(ENABLE_SAAS == 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user