From: Petr Skoda Date: Sat, 2 Jan 2010 13:25:09 +0000 (+0000) Subject: MDL-21198 fixed another regression in last commit X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=1c11dcb6e9246fb7e4cfa2d7dd8e032344fd8537;p=moodle.git MDL-21198 fixed another regression in last commit --- diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index 76294e9afe..d332136ec6 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -1141,10 +1141,10 @@ class core_renderer extends renderer_base { } if (!$linktext) { - $options['alt'] = $itle; + $options['alt'] = $title; } - $icon = $this->icon($image_or_url, $options); + $icon = $this->image($image_or_url, $options); if ($linktext) { $icon = $icon.$itle;