From 648b44aca73a30fcce9c86b893d0c1adc6efcee8 Mon Sep 17 00:00:00 2001 From: Paul Nicholls Date: Tue, 24 May 2016 16:09:02 +1200 Subject: [PATCH] Call $PAGE->set_url() in view.php Replace commented-out call to incorrectly-renamed $PAGE->set_echolink() (should be set_url, as it's not related to the module name) with a call to the correct function ($PAGE->set_url()) in view.php. --- view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view.php b/view.php index 644866d..ae37242 100644 --- a/view.php +++ b/view.php @@ -54,7 +54,7 @@ $completion = new completion_info($course); $completion->set_module_viewed($cm); -//$PAGE->set_echolink('/mod/echolink/view.php', array('id' => $cm->id)); // Problematic Moodle call... need to disable for now +$PAGE->set_url('/mod/echolink/view.php', array('id' => $cm->id)); // Make sure Echo360 Link exists before generating output - some older sites may contain empty echolinks // Do not use PARAM_URL here, it is too strict and does not support general URIs!