From 1bf9f193a214f7d7efb10f990748ba4c0951c4be Mon Sep 17 00:00:00 2001 From: edward Date: Tue, 19 Jul 2016 11:48:37 +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 18e3db9..b33a8b4 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("{}",'email'); + $rcpts = DB_DataObject::factory('groups')->lookupMembers("{$this->opts['group']}",'email'); if(empty($rcpts)){ @@ -220,7 +220,7 @@ class Pman_Admin_Report_SendEventErrors extends Pman_Roo $content = array( 'template' => 'EVENT_ERRORS_REPORT', - 'rcpts_group' => $this->opts['group'], + 'rcpts' => $rcpts, 'errors' => $errors, 'subject' => $subject ); -- 2.39.2