Revert "MDL-49121 mod_lesson: Fixed typo in link creation"

This reverts commit feb8ca8c72dcf429d3c06df6587b57221ae615f4.
This commit is contained in:
Dan Poltawski
2015-03-19 12:24:52 +01:00
committed by Eloy Lafuente (stronk7)
parent 516c5d807a
commit 7eb98397dc
+1 -1
View 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"];