Merge branch 'MDL-54841-31' of https://github.com/nashtechdev01/moodle into MOODLE_31_STABLE

This commit is contained in:
Dan Poltawski
2016-07-05 11:06:39 +01:00
+1 -1
View File
@@ -877,7 +877,7 @@ class mod_workshop_renderer extends plugin_renderer_base {
$type = $file->get_mimetype();
$image = $this->output->pix_icon(file_file_icon($file), get_mimetype_description($file), 'moodle', array('class' => 'icon'));
$linkhtml = html_writer::link($fileurl, $image) . substr($filepath, 1) . html_writer::link($fileurl, $filename);
$linkhtml = html_writer::link($fileurl, $image . substr($filepath, 1) . $filename);
$linktxt = "$filename [$fileurl]";
if ($format == 'html') {