From b0fef57b1bb0308be752d7c684ecf74e32c6806c Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Wed, 24 Feb 2010 06:11:45 +0000 Subject: [PATCH] output MDL-20204 Fixed regression action link wasn't making use of attributes argument --- lib/outputcomponents.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/outputcomponents.php b/lib/outputcomponents.php index 6c75bfee66d..97d61a3435a 100644 --- a/lib/outputcomponents.php +++ b/lib/outputcomponents.php @@ -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); }