3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00
farmOS/modules
Paul Weidner 2165437132 Fix type error when un-assigning asset from group #631
Submitting the group asset action form without a group yields the following error:
Message	TypeError: array_column(): Argument #1 ($array) must be of type array, null given in array_column()
(line 195 of /var/www/html/web/profiles/farm/modules/asset/group/src/Form/AssetGroupActionForm.php)

One fix is to use the null coalescing operator to return an empty array when the form value is null.
2023-01-31 14:07:11 -08:00
..
asset Fix type error when un-assigning asset from group #631 2023-01-31 14:07:11 -08:00
core Remove un-needed phpstan ignores. 2023-01-27 14:55:09 -05:00
log Remove un-needed phpstan ignores. 2023-01-27 14:55:09 -05:00
quantity Remove default_measure configuration from quantity type definitions #612 2022-12-02 14:02:24 -05:00
quick/planting The #date_year_range property is not used on fields of #type = date. 2023-01-20 08:39:33 -05:00
taxonomy Change "Test method" field to a taxonomy term reference. 2022-11-25 12:02:38 -05:00