mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-23 05:41:02 +01:00
Fix missing infolog custom fields in contact view
This commit is contained in:
parent
1b6bf633f6
commit
d616b36e9f
@ -112,11 +112,13 @@ class customfields_widget
|
||||
function pre_process($form_name,&$value,&$cell,&$readonlys,&$extension_data,etemplate $tmpl)
|
||||
{
|
||||
list($app) = explode('.',$tmpl->name);
|
||||
// if we are in the etemplate editor or the app has no cf's, load the cf's from the app the tpl belongs too
|
||||
if ($app && $app != 'stylite' && $app != $this->appname && ($this->appname == 'etemplate' || !$this->customfields || etemplate::$hooked))
|
||||
|
||||
// if we are in the etemplate editor or a different app, load the cf's from the app the tpl belongs to
|
||||
if ($app && $app != 'stylite' && $app != $this->appname)
|
||||
{
|
||||
self::__construct(null,$app); // app changed
|
||||
}
|
||||
|
||||
list($type2,$use_private,$field_names) = explode(',',$cell['size'],3);
|
||||
$fields_with_vals=array();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user