MDL-20204 fixed typo in variable name

This commit is contained in:
David Mudrak 2010-03-18 18:33:40 +00:00
parent 0189bf77c1
commit 67da0bf73e

View File

@ -596,10 +596,10 @@ class action_link implements renderable {
}
public function add_class($class) {
if (empty($this->atribbutes['class'])) {
$this->atribbutes['class'] = $class;
if (empty($this->attributes['class'])) {
$this->attributes['class'] = $class;
} else {
$this->atribbutes['class'] = $this->atribbutes['class'].' '.$class;
$this->attributes['class'] .= ' ' . $class;
}
}
}