]> git.mjollnir.org Git - moodle.git/commitdiff
Modified calls to add_to_log() function to include cmid at the end. It was missing
authorstronk7 <stronk7>
Sun, 15 Feb 2004 20:07:21 +0000 (20:07 +0000)
committerstronk7 <stronk7>
Sun, 15 Feb 2004 20:07:21 +0000 (20:07 +0000)
in "resubmit" logs.

mod/workshop/upload.php

index dd8eccf2e603a7dc546b0702491a462db70878ec..142acc94756bf2affb1a5a7151841e3ca8867cbc 100644 (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");