]> git.mjollnir.org Git - moodle.git/commitdiff
Corrected line that would cause restore_create_modules to return True if the first...
authorsam_marshall <sam_marshall>
Mon, 13 Mar 2006 16:32:22 +0000 (16:32 +0000)
committersam_marshall <sam_marshall>
Mon, 13 Mar 2006 16:32:22 +0000 (16:32 +0000)
backup/restorelib.php

index 2462aac269f428be5c4f512d7bc26d3dedb3b97f..31ed3dbeabdc7facd8a563c2869c00459222ff59 100644 (file)
                         $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;