From: stronk7 Date: Sun, 15 Feb 2004 20:07:21 +0000 (+0000) Subject: Modified calls to add_to_log() function to include cmid at the end. It was missing X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=530931dd21d885d0372be109fc5a287db3fb3195;p=moodle.git Modified calls to add_to_log() function to include cmid at the end. It was missing in "resubmit" logs. --- diff --git a/mod/workshop/upload.php b/mod/workshop/upload.php index dd8eccf2e6..142acc9475 100644 --- a/mod/workshop/upload.php +++ b/mod/workshop/upload.php @@ -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");