mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
MDL-20204 fixed typo in variable name
This commit is contained in:
parent
0189bf77c1
commit
67da0bf73e
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user