From d7b5cda0ea5df9bb146ec69915d04bd403f1a7f2 Mon Sep 17 00:00:00 2001 From: Val Bancer Date: Wed, 12 Sep 2018 18:14:24 +0200 Subject: [PATCH] Fix PHP 5.3 syntax --- lib/Cake/View/Helper/FormHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/View/Helper/FormHelper.php b/lib/Cake/View/Helper/FormHelper.php index 141bde656..83eb67eaf 100644 --- a/lib/Cake/View/Helper/FormHelper.php +++ b/lib/Cake/View/Helper/FormHelper.php @@ -1061,7 +1061,7 @@ class FormHelper extends AppHelper { $radioOptions = (array)$options['options']; unset($options['options']); } else { - $radioOptions = []; + $radioOptions = array(); } $label = $this->_getLabel($fieldName, $options);