From: Alan Knowles Date: Thu, 28 Jan 2016 07:48:32 +0000 (+0800) Subject: NotifySend.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=cfd2bac4321fb9e43fe8f05ebf0790dac0af0d8a NotifySend.php --- diff --git a/NotifySend.php b/NotifySend.php index af1d870c..8bcb973e 100644 --- a/NotifySend.php +++ b/NotifySend.php @@ -210,13 +210,15 @@ class Pman_Core_NotifySend extends Pman "Notification event cleared (not required any more)" ."\n"); } - + if (empty($p) && !empty($email['rcpts'])) { // make a fake person.. $p = (object) array( 'email' => $email['rcpts'] ); } + print_R($email);exit; + if ($email === false || isset($email['error']) || empty($p)) { // object returned 'false' - it does not know how to send it..