Modified calls to add_to_log() function to include cmid at the end. It was missing

in "resubmit" logs.
This commit is contained in:
stronk7 2004-02-15 20:07:21 +00:00
parent 7c11319ad7
commit 530931dd21

View File

@ -89,7 +89,7 @@
}
}
add_to_log($course->id, "workshop", "resubmit", "view.php?id=$cm->id",
"$workshop->id");
"$workshop->id","$cm->id");
}
if (! $dir = workshop_file_area($workshop, $newsubmission)) {
error("Sorry, an error in the system prevents you from uploading files: contact your teacher or system administrator");