mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:07 +01:00
* Admin: fix PHP Fatal error when editing custom fields in a minimal install
This commit is contained in:
parent
30bcf7edef
commit
135eeadf69
@ -424,7 +424,7 @@ class customfields
|
||||
if (count($this->content_types)==0)
|
||||
{
|
||||
// if you define your default types of your app with the search_link hook, they are available here, if no types were found
|
||||
$this->content_types = (array)egw_link::get_registry($this->appname,'default_types');
|
||||
$this->content_types = (array)Api\Link::get_registry($this->appname, 'default_types');
|
||||
}
|
||||
foreach($this->content_types as $type => $entry)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user