From 8c73086717762db1b5abaf7a803f1b14f86cb482 Mon Sep 17 00:00:00 2001 From: mark_story Date: Wed, 25 May 2016 23:05:12 +0200 Subject: [PATCH] Fix PHPCS error. --- lib/Cake/View/Helper/FormHelper.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/Cake/View/Helper/FormHelper.php b/lib/Cake/View/Helper/FormHelper.php index 2282a38e5..f52b74ded 100644 --- a/lib/Cake/View/Helper/FormHelper.php +++ b/lib/Cake/View/Helper/FormHelper.php @@ -941,7 +941,6 @@ class FormHelper extends AppHelper { unset($options['fieldset']); } - if (empty($fields)) { $fields = $modelFields; }