Skip to content

Commit 0761605

Browse files
authored
Fix(Order): Fix action to link an existing item (#529)
1 parent 446db9a commit 0761605

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
@@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1212
- Fix `Validation` tab from `Order`
1313
- Fix invalid relations declared
1414
- Fix uninstall method
15+
- Fix action to link an existing item
1516

1617
## [2.12.4] - 2025-12-02
1718

inc/link.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ public static function processMassiveActionsForOneItemtype(
579579

580580
// retrieve additional informations for each items
581581
$ma->POST['add_items'] = [];
582-
if (isset($ma->items[self::class])) {
582+
if (isset($ma->getItems()[self::class])) {
583583
$additional_data_ite = $DB->request([
584584
'SELECT' => [
585585
'glpi_plugin_order_orders_items.id',

0 commit comments

Comments
 (0)