Merge pull request #6967 from atm-ph/fix_wrong_attribute_name

Fix wrong attribute name for loop
This commit is contained in:
Laurent Destailleur 2017-06-10 00:13:09 +02:00 committed by GitHub
commit c2b171dd73

View File

@ -825,7 +825,7 @@ function activateModule($value,$withdeps=1)
{
// Activation of modules this module depends on
// this->depends may be array('modModule1', 'mmodModule2') or array('always'=>"modModule1", 'FR'=>'modModule2')
foreach ($objMod->depend as $key => $modulestring)
foreach ($objMod->depends as $key => $modulestring)
{
if ((! is_numeric($key)) && $key != 'always' && $key != $mysoc->country_code)
{