From 1d04bc2d650ec8e585a9841fd8754c06139b35c0 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Fri, 26 Mar 2010 14:57:44 +0000 Subject: [PATCH] Fix directory scan to only scan installed apps --- importexport/inc/class.importexport_helper_functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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