Skip to content

Commit 72ec91f

Browse files
authored
Fix: Log generation for dropdown (#989)
* Fix: Log generation for dropdown * changelog
1 parent b5506ac commit 72ec91f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1111
- Fix default value properly applied in multiple dropdown search options
1212
- Fix `search option` for default values in `multiple` dropdown
1313
- Fix shared dropdowns not displaying in `massiveaction`
14+
- The field name was empty in the GLPI logs
1415

1516
### Added
1617
- Add `replace` and `add` options in massive action for the multiple dropdowns fields

inc/container.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1404,7 +1404,7 @@ public static function constructHistory(
14041404
//for all change find searchoption
14051405
foreach ($updates as $key => $changes) {
14061406
foreach ($searchoptions as $id_search_option => $searchoption) {
1407-
if ($searchoption['linkfield'] == $key) {
1407+
if ($searchoption['field'] == $key) {
14081408
$changes[0] = $id_search_option;
14091409

14101410
if ($searchoption['datatype'] === 'dropdown') {

0 commit comments

Comments
 (0)