浏览代码

fix php53

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.');
 			throw new InternalErrorException('Flash message missing.');
 		}
 		}
 
 
-		$options = ['type' => Inflector::underscore($name)];
+		$options = array('type' => Inflector::underscore($name));
 		if (!empty($args[1])) {
 		if (!empty($args[1])) {
 			$options += (array)$args[1];
 			$options += (array)$args[1];
 		}
 		}