function test_import($app) return if !$app

This commit is contained in:
Ralf Becker 2002-02-19 18:04:46 +00:00
parent 282c4198a4
commit e360e82365

View File

@ -565,7 +565,7 @@
{ {
list($app) = explode('.',$app); 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 return ''; // ensure test is done only once per call and app
} }