diff --git a/etemplate/inc/class.etemplate.inc.php b/etemplate/inc/class.etemplate.inc.php index 5403e20651..c79d6b3403 100644 --- a/etemplate/inc/class.etemplate.inc.php +++ b/etemplate/inc/class.etemplate.inc.php @@ -200,6 +200,19 @@ class etemplate_new extends etemplate_widget_template $GLOBALS['egw']->framework->response->generic('et2_load',$load_array); return; } + else if (!$header) + { + // Headers already sent, another etemplate + echo '
'; + echo ''; + } else { //error_log("NON-Ajax " . __LINE__); @@ -233,6 +246,7 @@ class etemplate_new extends etemplate_widget_template echo ')});'; } } + self::$request = null; } /**