Corrected line that would cause restore_create_modules to return True if the first module fails to restore, but the second succeeds. (Whereas it would already be False if the first succeeds, but second fails.)
This commit is contained in:
@@ -2476,7 +2476,7 @@
|
||||
$modrestore = $mod->modtype."_restore_mods";
|
||||
if (function_exists($modrestore)) {
|
||||
//print_object ($mod); //Debug
|
||||
$status = $modrestore($mod,$restore);
|
||||
$status &= $modrestore($mod,$restore);
|
||||
} else {
|
||||
//Something was wrong. Function should exist.
|
||||
$status = false;
|
||||
|
||||
Reference in New Issue
Block a user