- πΊπ¦Ukraine tibezh
The patch from the #15 comment is not applicable to 7.x-1.x, but #13 works.
-
poker10 β
committed 52539ba7 on 7.x-1.x authored by
beatrizrodrigues β
Issue #3254201 by beatrizrodrigues: PHP 8.0 incompatibility: DEPRECATED...
-
poker10 β
committed 52539ba7 on 7.x-1.x authored by
beatrizrodrigues β
- Status changed to Fixed
over 1 year ago 9:06pm 16 June 2023 - πΈπ°Slovakia poker10
Committed, thanks all!
The
!empty()
check would cover a bit broader check than the not null check, but taken into account that the$delta_handling
should have only one of these values:'#options' => array( 'default' => 'Match Multiples (default)', 'm_to_s' => 'Multiple to Single', 's_to_m' => 'Single to Multiple', 'c_to_s' => 'Concatenate to Single', 'c_to_m' => 'Concatenate to Multiple', ),
// Determine how we deal with deltas (multi-value fields) if (empty($field_instance['widget']['settings']['delta_handling'])) { $delta_handling = 'default'; } else { $delta_handling = $field_instance['widget']['settings']['delta_handling']; }
Then I think this is OK.
Automatically closed - issue fixed for 2 weeks with no activity.