Browse Source

fix php53

Mark Scherer 11 years ago
parent
commit
93704f0e24
1 changed files with 1 additions and 1 deletions
  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];
 		}