File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
99
1010### Fixed
1111
12+ - Fix default value format for multiple dropdown (GLPIObject)
1213- Increased the maximum length of the language column to support longer locale codes
1314
1415## [ 1.21.24] - 2025-10-10
Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ public function prepareInputForAdd($input)
249249 $ input ['name ' ] = $ this ->prepareName ($ input );
250250
251251 if ($ input ['multiple ' ] ?? false ) {
252- $ input ['default_value ' ] = json_encode ($ input ['default_value ' ] ?? []);
252+ $ input ['default_value ' ] = json_encode ($ input ['default_value ' ] ?: []);
253253 }
254254
255255 //reject adding when field name is too long for mysql
You can’t perform that action at this time.
0 commit comments