We need access to $c here...

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
This commit is contained in:
Andrew McMillan 2011-01-07 00:09:06 +13:00
parent cc941a500e
commit bb1e22c9b5

View File

@ -154,7 +154,7 @@ function handle_subaction( $subaction ) {
}
function principal_editor() {
global $id, $can_write_principal, $session;
global $c, $id, $can_write_principal, $session;
$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'" );