Skip to content
Permalink
Browse files

Add missing type cast

  • Loading branch information...
dereuromark committed Oct 14, 2016
1 parent 841886f commit 3c1fbeff4732a60bb5f9b78556dfb961eed908c8
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Controller/Component/FlashComponent.php
@@ -108,7 +108,7 @@ public function set($message, array $options = [])
$messages = [];
if ($options['clear'] === false) {
$messages = $this->_session->read('Flash.' . $options['key']);
$messages = (array)$this->_session->read('Flash.' . $options['key']);
}
$messages[] = [

0 comments on commit 3c1fbef

Please sign in to comment.
You can’t perform that action at this time.