mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Updating FormHelper to fix failing test from merge.
This commit is contained in:
parent
08e7bcb7ab
commit
b67d3fac44
1 changed files with 1 additions and 1 deletions
|
@ -1778,7 +1778,7 @@ class FormHelper extends AppHelper {
|
|||
$year = $month = $day = $hour = $min = $meridian = null;
|
||||
|
||||
if (empty($attributes['value'])) {
|
||||
$attributes['value'] = $this->value($fieldName);
|
||||
$attributes = $this->value($attributes, $fieldName);
|
||||
}
|
||||
|
||||
if ($attributes['value'] === null && $attributes['empty'] != true) {
|
||||
|
|
Loading…
Reference in a new issue