Skip to content

Commit

Permalink
CU-6gv19n fix completion on view issue
Browse files Browse the repository at this point in the history
  • Loading branch information
moodledev committed Jul 13, 2020
1 parent 8efd432 commit 2b08d24
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions view.php
Expand Up @@ -56,6 +56,8 @@

require_capability('mod/videotime:view', $moduleinstance->get_context());

videotime_view($moduleinstance, $course, $cm, $moduleinstance->get_context());

$PAGE->set_url('/mod/videotime/view.php', ['id' => $cm->id]);
$PAGE->set_title(format_string($moduleinstance->name));
$PAGE->set_heading(format_string($course->fullname));
Expand Down

0 comments on commit 2b08d24

Please sign in to comment.