Fixed group access bug

This commit is contained in:
jengo 2000-09-11 06:48:37 +00:00
parent 1ab6ea6999
commit d19d009cad
2 changed files with 3 additions and 3 deletions

View File

@ -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","");

View File

@ -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'";
}