Skip to content

Commit a88d44c

Browse files
committed
fix(targetticket): loss of associated element
1 parent 8cd6a02 commit a88d44c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

inc/targetticket.class.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1360,7 +1360,8 @@ private function saveAssociatedItems($input) {
13601360
'NOT' => ['itemtype' => [
13611361
PluginFormcreatorTargetTicket::class,
13621362
Ticket::class,
1363-
]]
1363+
]],
1364+
self::getForeignKeyField() => $this->getID(),
13641365
]);
13651366
$targetTicketFk = self::getForeignKeyField();
13661367
foreach ($input['items_id'] as $itemtype => $items) {

0 commit comments

Comments
 (0)