Skip to content
Snippets Groups Projects
Commit c2b171dd authored by Laurent Destailleur's avatar Laurent Destailleur Committed by GitHub
Browse files

Merge pull request #6967 from atm-ph/fix_wrong_attribute_name

Fix wrong attribute name for loop
parents def64038 c1f3a168
Branches
No related tags found
No related merge requests found
...@@ -825,7 +825,7 @@ function activateModule($value,$withdeps=1) ...@@ -825,7 +825,7 @@ function activateModule($value,$withdeps=1)
{ {
// Activation of modules this module depends on // Activation of modules this module depends on
// this->depends may be array('modModule1', 'mmodModule2') or array('always'=>"modModule1", 'FR'=>'modModule2') // 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) if ((! is_numeric($key)) && $key != 'always' && $key != $mysoc->country_code)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment