mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 19:33:54 +01:00
* Admin/All apps: enable private custom-fields
can be explicitly disabled via GET parameter use_private=0
This commit is contained in:
parent
9ed61924d0
commit
0a22f09523
@ -140,7 +140,7 @@ class customfields
|
|||||||
$content_types = array_keys($this->content_types);
|
$content_types = array_keys($this->content_types);
|
||||||
$this->content_type = $content_types[0];
|
$this->content_type = $content_types[0];
|
||||||
}
|
}
|
||||||
$content['use_private'] = (boolean)$_GET['use_private'];
|
$content['use_private'] = !isset($_GET['use_private']) || (boolean)$_GET['use_private'];
|
||||||
|
|
||||||
$referer = $GLOBALS['egw']->common->get_referer();
|
$referer = $GLOBALS['egw']->common->get_referer();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user