mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
set post_process for an extension only if the extension has a post_process funktion, else it might overwright the normal post_process
This commit is contained in:
parent
74248930c5
commit
61aa0d4c58
@ -717,7 +717,7 @@
|
||||
}
|
||||
break;
|
||||
}
|
||||
if ($ext_type && !$readonly) // extension-processing need to be after all other and only with diff. name
|
||||
if ($ext_type && !$readonly && $this->haveExtension($ext_type,'post_process')) // extension-processing need to be after all other and only with diff. name
|
||||
{ // unset it first, if it is already set, to be after the other widgets of the ext.
|
||||
unset($GLOBALS['phpgw_info']['etemplate']['to_process'][$form_name]);
|
||||
$GLOBALS['phpgw_info']['etemplate']['to_process'][$form_name] = 'ext-'.$ext_type;
|
||||
|
Loading…
Reference in New Issue
Block a user