]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-21198 fixed yet another regression in last commit, lalala
authorPetr Skoda <skodak@moodle.org>
Sat, 2 Jan 2010 13:26:09 +0000 (13:26 +0000)
committerPetr Skoda <skodak@moodle.org>
Sat, 2 Jan 2010 13:26:09 +0000 (13:26 +0000)
lib/outputrenderers.php

index d332136ec69bacf1d3aeb2d867e1cb0695483180..524066b101cd30949e06354f1cf354511a6dcee0 100644 (file)
@@ -1107,7 +1107,7 @@ class core_renderer extends renderer_base {
         $options = array('class'=>'iconhelp', 'alt'=>$text);
         $url = new moodle_url(get_docs_url($path));
 
-        $icon = $this->icon('docs', $options);
+        $icon = $this->image('docs', $options);
 
         $link = new html_link($url, $icon.$text);