From 1c11dcb6e9246fb7e4cfa2d7dd8e032344fd8537 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Sat, 2 Jan 2010 13:25:09 +0000 Subject: [PATCH] MDL-21198 fixed another regression in last commit --- lib/outputrenderers.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5