NotifySend.php
authorAlan Knowles <alan@roojs.com>
Thu, 28 Jul 2016 03:30:53 +0000 (11:30 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 28 Jul 2016 03:30:53 +0000 (11:30 +0800)
NotifySend.php

index e6a8404..e32aa7a 100644 (file)
@@ -389,7 +389,7 @@ class Pman_Core_NotifySend extends Pman
                 $username = $ff->Mail['username'] ;
                 $password = $ff->Mail['password'] ;
                 
-                if(!empty($ff->Core_Notify)){
+                if(!empty($ff->Core_Notify) && !empty($ff->Core_Notify['routes'])){
                     
                     foreach ($ff->Core_Notify['routes'] as $server => $settings){
                         if(!in_array($dom, $settings['domains'])){