mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-31 18:46:02 +00:00
We need $privilege_names in the list of globals.
Closes #250. Thank you to Laurent Hoareau and Jos Alsters.
This commit is contained in:
parent
c5cbd75be4
commit
c26ad777a2
@ -179,7 +179,7 @@ function handle_subaction( $subaction ) {
|
||||
}
|
||||
|
||||
function principal_editor() {
|
||||
global $c, $id, $can_write_principal, $session;
|
||||
global $c, $id, $can_write_principal, $session, $privilege_names;
|
||||
$editor = new Editor(translate('Principal'), 'dav_principal');
|
||||
|
||||
$editor->SetLookup( 'date_format_type', "SELECT 'E', 'European' UNION SELECT 'U', 'US Format' UNION SELECT 'I', 'ISO Format'" );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user