no mx records
authorAlan <alan@roojs.com>
Wed, 9 Aug 2023 09:14:38 +0000 (17:14 +0800)
committerAlan <alan@roojs.com>
Wed, 9 Aug 2023 09:14:38 +0000 (17:14 +0800)
NotifySend.php

index eab01a9..7475f7a 100644 (file)
@@ -621,7 +621,7 @@ class Pman_Core_NotifySend extends Pman
                 $mxs[] = $mx_records[$k];
             }
         }
-        return $mxs;
+        return empty($mxs) ? false : $mxs;
     }
     
     /**