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:
sam_marshall 2006-03-13 16:32:22 +00:00
parent 3a8ad5764f
commit f95310d224

View File

@ -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;