diff --git a/importexport/inc/class.importexport_helper_functions.inc.php b/importexport/inc/class.importexport_helper_functions.inc.php index 95a6e5b4fd..c4e94e1b7b 100755 --- a/importexport/inc/class.importexport_helper_functions.inc.php +++ b/importexport/inc/class.importexport_helper_functions.inc.php @@ -273,7 +273,7 @@ class importexport_helper_functions { foreach ($appnames as $appname) { $appdir = EGW_INCLUDE_ROOT. "/$appname/inc"; - if(!is_dir($appdir) || !array_key_exists($GLOBALS['egw_info']['apps'], $appdir)) continue; + if(!is_dir($appdir) || !array_key_exists($appname, $GLOBALS['egw_info']['apps'])) continue; $d = dir($appdir); // step through each file in appdir