From 530931dd21d885d0372be109fc5a287db3fb3195 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Sun, 15 Feb 2004 20:07:21 +0000 Subject: [PATCH] Modified calls to add_to_log() function to include cmid at the end. It was missing in "resubmit" logs. --- mod/workshop/upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/workshop/upload.php b/mod/workshop/upload.php index dd8eccf2e60..142acc94756 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");