Skip to content

Commit

Permalink
Merge branch 'dev' into categories
Browse files Browse the repository at this point in the history
  • Loading branch information
my-curiosity committed Jan 5, 2024
2 parents 1fab619 + a951c38 commit 2addadf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions block_overviewmyrolesincourses.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,8 @@ public function get_courses_enroled_with_roleid(
// Add additional information like url to the course, ...
$url = new moodle_url('/course/view.php', ['id' => $enroledcourse->id]);
$urldelete = new moodle_url('/course/delete.php', ['id' => $enroledcourse->id]);
$enroledcoursewithrole->url = $url.__toString();
$enroledcoursewithrole->urldelete = $urldelete.__toString();
$enroledcoursewithrole->url = $url->__toString();
$enroledcoursewithrole->urldelete = $urldelete->__toString();
$enroledcoursewithrole->dimmed = $dimmed;
$enroledcoursewithrole->duration = $this->create_duration($enroledcourse)->duration;
$enroledcoursewithrole->durationstatus = $this->create_duration($enroledcourse)->durationstatus;
Expand Down

0 comments on commit 2addadf

Please sign in to comment.