diff --git a/backup/restorelib.php b/backup/restorelib.php index 2462aac269f..31ed3dbeabd 100644 --- a/backup/restorelib.php +++ b/backup/restorelib.php @@ -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;