- Issue created by @kensae
- last update
8 months ago PHPLint Failed - last update
8 months ago 4 pass - Status changed to Needs work
7 months ago 3:52pm 28 April 2024 - 🇭🇺Hungary nagy.balint
Thanks!
However I am not sure if the following condition is 100% correct
if (!empty($element['value']['#access']) && $element['value']['#access'] && !empty($element['value']['#value']) && !empty($element['end_value']['#value'])) {
Are we certain that $element['value']['#access'] exists in the array?
Because if it does not exist, then it should be considered as TRUE.
While in the above condition when it does not exist, it will skip the condition.I think It could be better to first determine the access with something like
$access = isset($element['value']['#access']) ? $element['value']['#access'] : TRUE;
and then it can be checked later in the condition. -
nagy.balint →
committed 1e634189 on 3.0.x
Issue #3427364 by kensae, nagy.balint: InvalidArgumentException: The...
-
nagy.balint →
committed 1e634189 on 3.0.x
- Status changed to Fixed
6 months ago 10:30pm 1 June 2024 Automatically closed - issue fixed for 2 weeks with no activity.