From 827865d14afdd813d823f602d81741d36fe7b709 Mon Sep 17 00:00:00 2001 From: edward Date: Tue, 19 Jul 2016 11:48:30 +0800 Subject: [PATCH] Report/SendEventErrors.php --- Report/SendEventErrors.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Report/SendEventErrors.php b/Report/SendEventErrors.php index b33a8b4..18e3db9 100644 --- a/Report/SendEventErrors.php +++ b/Report/SendEventErrors.php @@ -100,7 +100,7 @@ class Pman_Admin_Report_SendEventErrors extends Pman_Roo $this->jerr('Missing group - try add [-t {group name}]'); } - $rcpts = DB_DataObject::factory('groups')->lookupMembers("{$this->opts['group']}",'email'); + $rcpts = DB_DataObject::factory('groups')->lookupMembers("{}",'email'); if(empty($rcpts)){ @@ -220,7 +220,7 @@ class Pman_Admin_Report_SendEventErrors extends Pman_Roo $content = array( 'template' => 'EVENT_ERRORS_REPORT', - 'rcpts' => $rcpts, + 'rcpts_group' => $this->opts['group'], 'errors' => $errors, 'subject' => $subject ); -- 2.39.2