Skip to content

Commit

Permalink
fix(targetticket): loss of associated element
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Jan 29, 2022
1 parent 8cd6a02 commit a88d44c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion inc/targetticket.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1360,7 +1360,8 @@ private function saveAssociatedItems($input) {
'NOT' => ['itemtype' => [
PluginFormcreatorTargetTicket::class,
Ticket::class,
]]
]],
self::getForeignKeyField() => $this->getID(),
]);
$targetTicketFk = self::getForeignKeyField();
foreach ($input['items_id'] as $itemtype => $items) {
Expand Down

0 comments on commit a88d44c

Please sign in to comment.