Skip to content

Commit e87e12c

Browse files
committed
hotfix: source code iframe renderer
1 parent eb58236 commit e87e12c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clients/mod/assign/feedback/onlinejudge/locallib.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ public function view(stdClass $grade) {
394394
$urlparams = array('id' => $this->assignment->get_course_module()->id, 'a' => $this->assignment->get_instance()->id, 'submissionid' => $submission->id,);
395395
$url = new moodle_url('/mod/assign/feedback/onlinejudge/source.php', $urlparams);
396396
$attributes = array('src' => $url);
397-
$item = html_writer::tag('iframe', $attributes);
397+
$item = html_writer::tag('iframe', '', $attributes);
398398
$external_link_icon = '<br><i class="fa fa-external-link" aria-hidden="true"></i>';
399399
$external_link_attributes = array('href' => $url , 'target' => '_blank', 'title' => get_string('more'));
400400
$item .= html_writer::tag('a', $external_link_icon, $external_link_attributes);

0 commit comments

Comments
 (0)