From d19d009cad95a4db240e5acf537a878b225a27bd Mon Sep 17 00:00:00 2001 From: jengo Date: Mon, 11 Sep 2000 06:48:37 +0000 Subject: [PATCH] Fixed group access bug --- admin/newgroup.php | 1 + calendar/inc/functions.inc.php | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/newgroup.php b/admin/newgroup.php index 12b158b5ef..246c213085 100755 --- a/admin/newgroup.php +++ b/admin/newgroup.php @@ -75,6 +75,7 @@ } $t->set_var("form_action",$phpgw->link("newgroup.php")); + $t->set_var("hidden_vars",""); $t->set_var("lang_group_name",lang("New group name")); $t->set_var("group_name_value",""); diff --git a/calendar/inc/functions.inc.php b/calendar/inc/functions.inc.php index d5e859e374..0e54ffbffe 100755 --- a/calendar/inc/functions.inc.php +++ b/calendar/inc/functions.inc.php @@ -422,9 +422,8 @@ function month_name ( $m ) { function sql_search_calendar() { global $phpgw; - $s .= $phpgw->accounts->sql_search("webcal_entry_groups.groups"); - $s .= " OR webcal_entry.cal_access='public'"; - return $s; + + return $phpgw->accounts->sql_search("webcal_entry_groups.groups") . " OR webcal_entry.cal_access='public'"; }