From 2f10a6cc280d5610e746f9f4918cfc6fbd5f3a23 Mon Sep 17 00:00:00 2001 From: skeeter Date: Sun, 21 Jan 2001 14:30:53 +0000 Subject: [PATCH] fix for group box in calendar --- calendar/edit_entry.php | 2 +- phpgwapi/inc/class.sbox.inc.php | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/calendar/edit_entry.php b/calendar/edit_entry.php index 1023aa3a04..f260a4132d 100755 --- a/calendar/edit_entry.php +++ b/calendar/edit_entry.php @@ -174,7 +174,7 @@ $db2->query("SELECT account_lid FROM accounts WHERE account_id=".$cal_info->owner,__LINE__,__FILE__); $db2->next_record(); $user_groups = $phpgw->accounts->read_group_names($db2->f("account_lid")); - + display_item(lang("Groups"),$sb->getGroups($user_groups,$cal_info->groups,"cal[groups][]")); // Participants diff --git a/phpgwapi/inc/class.sbox.inc.php b/phpgwapi/inc/class.sbox.inc.php index bd9f7181cb..2f3ea79bda 100644 --- a/phpgwapi/inc/class.sbox.inc.php +++ b/phpgwapi/inc/class.sbox.inc.php @@ -207,12 +207,18 @@ { global $phpgw; - if(!$name) $name = "n_groups[]"; + if(!$name) $name = "n_groups[]"; $out = '