Skip to content

Commit bef89f0

Browse files
committed
Tidy render override method WIP 3
1 parent fa350fc commit bef89f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

classes/output/renderer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public function render(\renderable $widget) {
9898
$matches = null;
9999

100100
if (preg_match($specialrenderers, $fullpath, $matches)
101-
&& file_exists($CFG->dirroot . '/course/format/multitopic/templates/courseformat/' . $matches['template'])) { // ADDED.
101+
&& file_exists($CFG->dirroot . '/course/format/multitopic/templates/courseformat/' . $matches['template'])) {
102102
$data = $widget->export_for_template($this);
103103
return $this->render_from_template('format_multitopic/courseformat/' . $matches['template'], $data); // CHANGED.
104104
}

0 commit comments

Comments
 (0)