From b4dd1a649b7edbf64f960dedbd4f36338e92b018 Mon Sep 17 00:00:00 2001 From: skeeter Date: Sun, 18 Mar 2001 17:39:30 +0000 Subject: [PATCH] more debug statements --- calendar/edit_entry.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/calendar/edit_entry.php b/calendar/edit_entry.php index d01a1447cf..5abeb0e921 100755 --- a/calendar/edit_entry.php +++ b/calendar/edit_entry.php @@ -236,16 +236,18 @@ // Participants $accounts = $phpgw->acl->get_ids_for_location('run',1,'calendar'); + echo ''."\n"; $users = Array(); for($i=0;$i'."\n"; - if($accounts[$i] != $owner && !isset($users[$accounts[$i]])) + if(intval($accounts[$i]) != $owner && !isset($users[$accounts[$i]])) { - $users[$accounts[$i]] = $phpgw->common->grab_owner_name($accounts[$i]); - if($phpgw->accounts->get_type($accounts[$i]) == 'g') + $users[intval($accounts[$i])] = $phpgw->common->grab_owner_name(intval($accounts[$i])); + echo ''."\n"; + if($phpgw->accounts->get_type(intval($accounts[$i])) == 'g') { - $group_members = $phpgw->acl->get_ids_for_location($accounts[$i],1,'phpgw_group'); + $group_members = $phpgw->acl->get_ids_for_location(intval($accounts[$i]),1,'phpgw_group'); if($group_members != False) { for($j=0;$j'."\n"; $str = "\n".'