Commit a5691ccc authored by Dries's avatar Dries

- Patch #11600 by jhriggs: the module_load_all() function will currently...

- Patch #11600 by jhriggs: the module_load_all() function will currently behave unexpectedly if a module cannot be found (has been removed, renamed, etc). Once one module fails to load, all subsequent modules will not be loaded due to a short circuit condition when performing a boolean AND.
parent dfb3c3ae
......@@ -149,7 +149,7 @@ function module_load_all() {
$list = module_list();
$status = true;
foreach ($list as $module) {
$status = $status && module_load($module);
$status &= module_load($module);
}
return $status;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment