fixed bug [ 899751 ] Calendar notification to groups

This commit is contained in:
Ralf Becker 2004-05-23 10:02:45 +00:00
parent 29d855cc7d
commit 24f85350e6

View File

@ -2620,9 +2620,9 @@
{ {
$userid = (int)$userid; $userid = (int)$userid;
if ($statusid == 'R') if ($statusid == 'R' || $GLOBALS['phpgw']->accounts->get_type($userid) == 'g')
{ {
continue; // dont notify rejected participants continue; // dont notify rejected participants or groups
} }
if($userid != $GLOBALS['phpgw_info']['user']['account_id'] || $msg_type == MSG_ALARM) if($userid != $GLOBALS['phpgw_info']['user']['account_id'] || $msg_type == MSG_ALARM)
{ {