]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed bug 1379 ....
authormoodler <moodler>
Thu, 13 May 2004 08:50:37 +0000 (08:50 +0000)
committermoodler <moodler>
Thu, 13 May 2004 08:50:37 +0000 (08:50 +0000)
mod/assignment/submissions.php

index e5cbf52060b03c2b883eeb24b4d076293a10c210..281af4c18e21e33d6ab55b13c63ac880a314c6f7 100644 (file)
@@ -6,8 +6,8 @@
     require_variable($id);    // Assignment
     optional_variable($sort, "timemodified"); 
     optional_variable($dir, "DESC");
+    optional_variable($timewas);
 
-    $timewas = $_POST['timenow'];
     $timenow = time();
 
     if (! $assignment = get_record("assignment", "id", $id)) {