Browse Source

Fix regression after class side effect introduction.

mscherer 4 years ago
parent
commit
1bd5dc9de6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/View/Helper/FormatHelper.php

+ 2 - 0
src/View/Helper/FormatHelper.php

@@ -365,6 +365,8 @@ class FormatHelper extends Helper {
 	protected function _fontIcon($type, $options, $attributes) {
 		$iconClass = $type;
 
+		unset($this->_config['class']);
+
 		$options += $this->_config;
 		if ($options['autoPrefix'] && is_string($options['autoPrefix'])) {
 			$iconClass = $options['autoPrefix'] . '-' . $iconClass;