From 94e29aec1d3513c9d45e967e96b98959098d8014 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Mon, 27 Feb 2017 12:28:00 +0100 Subject: [PATCH] BaseElement: fix addAttributes() helper --- library/Businessprocess/Html/BaseElement.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Businessprocess/Html/BaseElement.php b/library/Businessprocess/Html/BaseElement.php index 564fc22..1440f4c 100644 --- a/library/Businessprocess/Html/BaseElement.php +++ b/library/Businessprocess/Html/BaseElement.php @@ -48,7 +48,7 @@ abstract class BaseElement extends Html */ public function addAttributes($attributes) { - $this->attributes = Attributes::wantAttributes($attributes); + $this->attributes()->add($attributes); return $this; }