Fix the issue where defaults has a higher priority then the attributes (#509)

This commit is contained in:
Adrian Crisan authored and Tom Shafer committed 2018-04-09 07:09:32 -07:00
1 parent 623a150c91
commit b3a10245c7
1 file changed
+1 -1
+1 -1
View File
@@ -94,7 +94,7 @@ class HtmlBuilder
{
$defaults = ['media' => 'all', 'type' => 'text/css', 'rel' => 'stylesheet'];
$attributes = array_merge($attributes, $defaults);
$attributes = array_merge($defaults, $attributes);
$attributes['href'] = $this->url->asset($url, $secure);