output MDL-20204 Fixed regression action link wasn't making use of attributes argument
This commit is contained in:
@@ -568,6 +568,7 @@ class action_link implements renderable {
|
||||
public function __construct(moodle_url $url, $text, component_action $action=null, array $attributes=null) {
|
||||
$this->url = clone($url);
|
||||
$this->text = $text;
|
||||
$this->attributes = (array)$attributes;
|
||||
if ($action) {
|
||||
$this->add_action($action);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user