Mark Scherer 10 年之前
父节点
当前提交
fb79948d6b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/View/Helper/FormatHelper.php

+ 1 - 1
src/View/Helper/FormatHelper.php

@@ -205,7 +205,7 @@ class FormatHelper extends TextHelper {
 		];
 		$options += $defaults;
 		$icon = (array)$icon;
-		$class = [];
+		$class = [$options['namespace']];
 		foreach ($icon as $i) {
 			$class[] = $options['namespace'] . '-' . $i;
 		}