mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 23:58:54 +01:00
Fix custom types shown on all apps
This commit is contained in:
parent
b933b17446
commit
509482e81c
@ -73,7 +73,6 @@ class customfields
|
||||
$this->tmpl = new etemplate();
|
||||
// do we manage content-types?
|
||||
if($this->tmpl->read($this->appname.'.admin.types')) $this->manage_content_types = true;
|
||||
|
||||
$this->fields = config::get_customfields($this->appname,true);
|
||||
$this->tmpl->read('admin.customfields');
|
||||
|
||||
@ -95,7 +94,7 @@ class customfields
|
||||
elseif(method_exists($this->tmpl, 'disableElement'))
|
||||
{
|
||||
// et2
|
||||
$this->tmpl->disableElement('admin.customfields.type', true);
|
||||
$this->tmpl->disableElement('content_types', true);
|
||||
}
|
||||
if (is_array($content))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user