diff --git a/etemplate/inc/class.soetemplate.inc.php b/etemplate/inc/class.soetemplate.inc.php index 5c822e36f7..ef24c59d83 100644 --- a/etemplate/inc/class.soetemplate.inc.php +++ b/etemplate/inc/class.soetemplate.inc.php @@ -565,7 +565,7 @@ { list($app) = explode('.',$app); - if ($GLOBALS['phpgw_info']['etemplate']['import_tested'][$app]) + if (!$app || $GLOBALS['phpgw_info']['etemplate']['import_tested'][$app]) { return ''; // ensure test is done only once per call and app }