output MDL-20204 Fixed regression misnamed variable

This commit is contained in:
Sam Hemelryk 2010-02-24 06:08:52 +00:00
parent c24895978f
commit 524645e768

View File

@ -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';
}