[-] BO : Small fix on preactivation

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13903 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
fSerny
2012-03-06 16:26:43 +00:00
parent e159fcb548
commit 7cca16b35e
+4 -3
View File
@@ -528,9 +528,10 @@ class AdminHomeControllerCore extends AdminController
// Check if module is not already installed and configured
$display = 0;
foreach ($partner->checkconfiguration->key as $key)
if (Configuration::get(pSQL((string)$key)) == '')
$display = 1;
if (file_exists('../config/xml/default_country_modules_list.xml') && filesize('../config/xml/default_country_modules_list.xml') > 10)
foreach ($partner->checkconfiguration->key as $key)
if (Configuration::get(pSQL((string)$key)) == '')
$display = 1;
// Display the module
if ($display == 1 && $count < 2)