mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Do not reference customfields if they are already read
-Fix second row of infolog customfields in CRM view does not respect nm filters
This commit is contained in:
parent
7e9b83d280
commit
7f01ef37ed
@ -127,7 +127,7 @@ class etemplate_widget_customfields extends etemplate_widget_transformer
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 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 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 != $GLOBALS['egw_info']['flags']['currentapp'] && (
|
if ($app && $app != 'stylite' && $app != $GLOBALS['egw_info']['flags']['currentapp'] && !isset($customfields) && (
|
||||||
$GLOBALS['egw_info']['flags']['currentapp'] == 'etemplate' || !$this->attrs['customfields'] ||
|
$GLOBALS['egw_info']['flags']['currentapp'] == 'etemplate' || !$this->attrs['customfields'] ||
|
||||||
etemplate::$hooked
|
etemplate::$hooked
|
||||||
) || !isset($customfields))
|
) || !isset($customfields))
|
||||||
|
Loading…
Reference in New Issue
Block a user