ソースを参照

Fix regression after class side effect introduction.

mscherer 4 年 前
コミット
1bd5dc9de6
1 ファイル変更2 行追加0 行削除
  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;