From ef64fa62eb4fc436ce27827da3565ad004afc904 Mon Sep 17 00:00:00 2001 From: skeeter Date: Wed, 16 May 2001 03:01:02 +0000 Subject: [PATCH] Fixed the email notification. --- calendar/inc/class.calendar__.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calendar/inc/class.calendar__.inc.php b/calendar/inc/class.calendar__.inc.php index a44a1836a4..f94a5e5121 100755 --- a/calendar/inc/class.calendar__.inc.php +++ b/calendar/inc/class.calendar__.inc.php @@ -140,7 +140,7 @@ class calendar__ { $preferences = CreateObject('phpgwapi.preferences',$participants[$i]); $part_prefs = $preferences->read_repository(); - if(!isset($part_prefs['calendar']['send_updates']) || $part_prefs['calendar']['send_updates'] == False) + if(!isset($part_prefs['calendar']['send_updates']) || !$part_prefs['calendar']['send_updates']) { continue; } @@ -177,7 +177,7 @@ class calendar__ break; } $subject = 'Calendar Event ('.$action.') #'.$event_id.': '.$action_date.' (L)'; - $send->msg('email',$to,$subject,$body,$msgtype,'','','',$sender); + $returncode = $send->msg('email',$to,$subject,$body,$msgtype,'','','',$sender); } } unset($send);