[-] BO : Configuration link does not appear if configuration is not available + fix on shop importer variable

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13942 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
fSerny
2012-03-07 17:16:20 +00:00
parent fb474af7ec
commit 2ddfc9b9f7
4 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ abstract class ImportModuleCore extends Module
{
$modules = Module::getModulesOnDisk(true);
foreach ($modules as $key => $module)
if (get_parent_class($module) != 'ImportModule')
if (!isset($module->parent_class) || $module->parent_class != 'ImportModule')
unset($modules[$key]);
return $modules;
}