Merge pull request #5556 from christianbeeznest/ofaj-21733

Reporting: fix course url with extra sid - refs BT#21733
pull/5558/head
christianbeeznest 6 months ago committed by GitHub
commit 32fac95533
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      public/main/my_space/myStudents.php

@ -365,7 +365,7 @@ switch ($action) {
$courseTable .= '<tr>
<td>
<a href="'.api_get_course_url($courseId).'?sid='.$sId.'">'.
<a href="'.api_get_course_url($courseId, $sId).'">'.
$course->getTitle().'</a>
</td>
<td >'.$time_spent_on_course.'</td>
@ -1418,7 +1418,7 @@ if (empty($details)) {
echo '<tr>
<td>
<a href="'.api_get_course_url($courseId).'?sid='.$sId.'">'.
<a href="'.api_get_course_url($courseId, $sId).'">'.
$course->getTitle().'
</a>
</td>

Loading…
Cancel
Save