From db7cd1697e126e267e91714606ca3de7dc639253 Mon Sep 17 00:00:00 2001 From: mgalgoci Date: Wed, 25 Aug 2004 15:33:59 +0000 Subject: [PATCH] fix long standing issue in is_owner() - mailto is a subarray of organizer. --- calendar/inc/class.boicalendar.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/inc/class.boicalendar.inc.php b/calendar/inc/class.boicalendar.inc.php index 98258547ae..b557e414b2 100755 --- a/calendar/inc/class.boicalendar.inc.php +++ b/calendar/inc/class.boicalendar.inc.php @@ -2907,7 +2907,7 @@ function is_owner($part_record) { - if(($part_record['user'].'@'.$part_record['host'] == $GLOBALS['phpgw_info']['user']['preferences']['email']['address']) || + if(($part_record['mailto']['user'].'@'.$part_record['mailto']['host'] == $GLOBALS['phpgw_info']['user']['preferences']['email']['address']) || ($part_record['cn'] == $GLOBALS['phpgw_info']['user']['account_lid'])) { return True;