File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -7,14 +7,21 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77
88## [ UNRELEASE]
99
10+ ### Fixed
11+
12+ - Fix container update from other context (like plugins)
1013
1114## [ 1.21.19] - 2025-02-03
1215
16+ ### Fixed
17+
1318- Fix container update from ` API `
1419- Fix: fix default value for ` dropdown ` field to avoid empty dropdown
1520
1621## [ 1.21.18] - 2024-01-16
1722
23+ ### Fixed
24+
1825- Fix ` PluginFieldsContainerDisplayCondition ` display when value is no more available.
1926- Fix issue where the value of custom fields could not be saved
2027
Original file line number Diff line number Diff line change @@ -1667,10 +1667,10 @@ public static function preItemUpdate(CommonDBTM $item)
16671667 public static function preItem (CommonDBTM $ item )
16681668 {
16691669 //find container (if not exist, do nothing)
1670- if (isset ($ _REQUEST ['c_id ' ])) {
1671- $ c_id = $ _REQUEST ['c_id ' ];
1672- } elseif (isset ($ item ->input ['c_id ' ])) {
1670+ if (isset ($ item ->input ['c_id ' ])) {
16731671 $ c_id = $ item ->input ['c_id ' ];
1672+ } elseif (isset ($ _REQUEST ['c_id ' ])) {
1673+ $ c_id = $ _REQUEST ['c_id ' ];
16741674 } else {
16751675 $ type = 'dom ' ;
16761676 if (isset ($ _REQUEST ['_plugin_fields_type ' ])) {
You can’t perform that action at this time.
0 commit comments