From 8ffc35060372b22bec6bcbf5eb024ad0514ebf0c Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 24 Mar 2016 11:56:58 +0800 Subject: [PATCH] Report/SendEventErrors.php --- Report/SendEventErrors.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Report/SendEventErrors.php b/Report/SendEventErrors.php index fef9b5f..8e16c11 100644 --- a/Report/SendEventErrors.php +++ b/Report/SendEventErrors.php @@ -28,6 +28,7 @@ class Pman_Admin_Report_SendEventErrors extends Pman_Roo 'min' => 1, 'max' => 1, ), + 'subject' => array( 'desc' => 'email subject', 'short' => 's', @@ -85,10 +86,17 @@ class Pman_Admin_Report_SendEventErrors extends Pman_Roo $rcpts = DB_DataObject::factory('groups')->lookupMembers("{$this->opts['group']}",'email'); + if(empty($rcpts)){ $this->jerr("{$this->opts['group']} does not has any memeber"); } + $rcpt_ids = DB_DataObject::factory('groups')->lookupMembers("{$this->opts['group']}",'id'); + + // see the last date of notification to these users... + + + $events = DB_DataObject::factory('Events'); $events->selectAdd(); $events->selectAdd(" -- 2.39.2