Mark Scherer 11 年 前
コミット
93704f0e24
1 ファイル変更1 行追加1 行削除
  1. 1 1
      Controller/Component/FlashComponent.php

+ 1 - 1
Controller/Component/FlashComponent.php

@@ -210,7 +210,7 @@ class FlashComponent extends Component {
 			throw new InternalErrorException('Flash message missing.');
 		}
 
-		$options = ['type' => Inflector::underscore($name)];
+		$options = array('type' => Inflector::underscore($name));
 		if (!empty($args[1])) {
 			$options += (array)$args[1];
 		}