MDL-49121 mod_lesson: Fixed typo in link creation
authorRajesh Taneja <rajesh@moodle.com>
Wed, 18 Mar 2015 07:30:24 +0000 (15:30 +0800)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 19 Mar 2015 11:24:50 +0000 (12:24 +0100)
mod/lesson/report.php

index 2ef9fa1..08836b5 100644 (file)
@@ -244,7 +244,7 @@ if ($action === 'delete') {
             }
 
             $temp .= "<a href=\"report.php?id=$cm->id&amp;action=reportdetail&amp;";
-            $temp .= "userid=".$try['userid']."&amp;try=".$try['try']." class=\"lesson-attempt-link\">";
+            $temp .= "userid=".$try['userid']."&amp;try=".$try['try']."\" class=\"lesson-attempt-link\">";
             if ($try["grade"] !== null) { // If null then not done yet.
                 // This is what the link does when the user has completed the try.
                 $timetotake = $try["timeend"] - $try["timestart"];