forked from extern/egroupware
Fixed the email notification.
This commit is contained in:
parent
9dff6f11f4
commit
ef64fa62eb
@ -140,7 +140,7 @@ class calendar__
|
|||||||
{
|
{
|
||||||
$preferences = CreateObject('phpgwapi.preferences',$participants[$i]);
|
$preferences = CreateObject('phpgwapi.preferences',$participants[$i]);
|
||||||
$part_prefs = $preferences->read_repository();
|
$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;
|
continue;
|
||||||
}
|
}
|
||||||
@ -177,7 +177,7 @@ class calendar__
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
$subject = 'Calendar Event ('.$action.') #'.$event_id.': '.$action_date.' (L)';
|
$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);
|
unset($send);
|
||||||
|
Loading…
Reference in New Issue
Block a user