From 524645e768bdfcefdacd3af97ba448c3e3cbfb80 Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Wed, 24 Feb 2010 06:08:52 +0000 Subject: [PATCH] output MDL-20204 Fixed regression misnamed variable --- lib/outputrenderers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index b25a42bb42a..e1165375f6c 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -906,7 +906,7 @@ class core_renderer extends renderer_base { } $attributes = (array)$attributes; - if (empty($options['class'])) { + if (empty($attributes['class'])) { // let ppl override the class via $options $attributes['class'] = 'action-icon'; }