Added little check

This commit is contained in:
stronk7 2003-06-01 10:38:39 +00:00
parent 486f978c4d
commit 16f77249aa

View file

@ -55,8 +55,10 @@
} }
} }
//if we've selected to backup users info, then backup files too //if we've selected to backup users info, then backup files too
if ($preferences->mods["assignment"]->userinfo) { if ($status) {
$status = backup_assignment_files($bf,$preferences); if ($preferences->mods["assignment"]->userinfo) {
$status = backup_assignment_files($bf,$preferences);
}
} }
return $status; return $status;
} }