Skip to content
Snippets Groups Projects
Commit c1f3a168 authored by Phf's avatar Phf
Browse files

Fix wrong attribute name for loop

parent def784a5
No related branches found
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