From f57f038c09f52d1a72b9744fe55c86e9c3c0bce5 Mon Sep 17 00:00:00 2001 From: mark_story Date: Wed, 16 Mar 2016 21:17:42 -0400 Subject: [PATCH] Fix for PHP 5.3 --- lib/Cake/Test/Case/View/Helper/FormHelperTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Test/Case/View/Helper/FormHelperTest.php b/lib/Cake/Test/Case/View/Helper/FormHelperTest.php index 9352ed577..b7547add7 100644 --- a/lib/Cake/Test/Case/View/Helper/FormHelperTest.php +++ b/lib/Cake/Test/Case/View/Helper/FormHelperTest.php @@ -4870,7 +4870,7 @@ class FormHelperTest extends CakeTestCase { $result = $this->Form->select( 'Model.field', array(0 => 'No', 1 => 'Yes', 2 => 'Yes again'), - array('value' => [false, 2], 'empty' => false) + array('value' => array(false, 2), 'empty' => false) ); $expected = array( 'select' => array('name' => 'data[Model][field]', 'id' => 'ModelField'),