Added little check

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

View file

@ -55,9 +55,11 @@
} }
} }
//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 ($status) {
if ($preferences->mods["assignment"]->userinfo) { if ($preferences->mods["assignment"]->userinfo) {
$status = backup_assignment_files($bf,$preferences); $status = backup_assignment_files($bf,$preferences);
} }
}
return $status; return $status;
} }