diff --git a/CHANGELOG.md b/CHANGELOG.md index 106a6e66..05083c7a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/). - Fix default value properly applied in multiple dropdown search options - Fix `search option` for default values in `multiple` dropdown - Fix shared dropdowns not displaying in `massiveaction` +- The field name was empty in the GLPI logs ### Added - Add `replace` and `add` options in massive action for the multiple dropdowns fields diff --git a/inc/container.class.php b/inc/container.class.php index 132f5a2d..ff7b1a57 100644 --- a/inc/container.class.php +++ b/inc/container.class.php @@ -1404,7 +1404,7 @@ public static function constructHistory( //for all change find searchoption foreach ($updates as $key => $changes) { foreach ($searchoptions as $id_search_option => $searchoption) { - if ($searchoption['linkfield'] == $key) { + if ($searchoption['field'] == $key) { $changes[0] = $id_search_option; if ($searchoption['datatype'] === 'dropdown') {