[-] BO : Small fix on preactivation

This commit is contained in:
fSerny
2012-03-06 16:26:43 +00:00
parent 1546172311
commit 55b5f4b850
+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)