Fix hook_update_N module enabling.
This commit is contained in:
parent
f2456bf9e3
commit
5208741c15
|
@ -63,7 +63,7 @@ function farm_update_7001(&$sandbox) {
|
|||
);
|
||||
foreach ($modules as $module) {
|
||||
if (!module_exists($module)) {
|
||||
module_enable($module);
|
||||
module_enable(array($module));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue