forked from extern/egroupware
Fixed group access bug
This commit is contained in:
parent
1ab6ea6999
commit
d19d009cad
@ -75,6 +75,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
$t->set_var("form_action",$phpgw->link("newgroup.php"));
|
$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("lang_group_name",lang("New group name"));
|
||||||
$t->set_var("group_name_value","");
|
$t->set_var("group_name_value","");
|
||||||
|
|
||||||
|
@ -422,9 +422,8 @@ function month_name ( $m ) {
|
|||||||
function sql_search_calendar()
|
function sql_search_calendar()
|
||||||
{
|
{
|
||||||
global $phpgw;
|
global $phpgw;
|
||||||
$s .= $phpgw->accounts->sql_search("webcal_entry_groups.groups");
|
|
||||||
$s .= " OR webcal_entry.cal_access='public'";
|
return $phpgw->accounts->sql_search("webcal_entry_groups.groups") . " OR webcal_entry.cal_access='public'";
|
||||||
return $s;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user