From 61aa0d4c588cbd563c7a543a43bc759b78e3e690 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 12 Oct 2002 22:37:29 +0000 Subject: [PATCH] set post_process for an extension only if the extension has a post_process funktion, else it might overwright the normal post_process --- etemplate/inc/class.uietemplate.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.uietemplate.inc.php b/etemplate/inc/class.uietemplate.inc.php index 0a1f7ba1f0..6f85d9f356 100644 --- a/etemplate/inc/class.uietemplate.inc.php +++ b/etemplate/inc/class.uietemplate.inc.php @@ -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;