mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 11:23:54 +01:00
* Admin: fix PHP Fatal error when editing custom fields in a minimal install
This commit is contained in:
parent
4315999573
commit
3b18244106
@ -424,7 +424,7 @@ class customfields
|
|||||||
if (count($this->content_types)==0)
|
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
|
// 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)
|
foreach($this->content_types as $type => $entry)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user