X-Git-Url: http://git.moodle.org/gw?p=moodle.git;a=blobdiff_plain;f=blog%2Flocallib.php;h=77d2ffddbc990d0ed9eb5b8ce5def0d9caee41c8;hp=1cc4b0c71f517921c1b05025d374dcb590fb6c15;hb=20b503841bf846b120d36a7a753d2e5514afe0e1;hpb=4452ed6f17bfb3691d74584b1fb8ba9007d9bb8c;ds=sidebyside
diff --git a/blog/locallib.php b/blog/locallib.php
index 1cc4b0c71f5..77d2ffddbc9 100644
--- a/blog/locallib.php
+++ b/blog/locallib.php
@@ -517,7 +517,7 @@ class blog_entry {
} else {
if (in_array($type, array('image/gif', 'image/jpeg', 'image/png'))) { // Image attachments don't get printed as links
- $imagereturn .= "
" . $OUTPUT->pix_icon($ffurl, $filename);
+ $imagereturn .= '
';
} else {
$imagereturn .= html_writer::link($ffurl, $image);
$imagereturn .= format_text(html_writer::link($ffurl, $filename), FORMAT_HTML, array('context'=>$syscontext));