mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 00:13:36 +00:00
ThreadItemStore: Fix setting parent IDs when parent already existed
Bug: T322599 Change-Id: I697de586fb3c1b1901f434f6fbef501cec3164df
This commit is contained in:
parent
45790f67e9
commit
759e6b757a
|
@ -553,10 +553,10 @@ class ThreadItemStore {
|
|||
);
|
||||
$itemRevisionsId = $dbw->insertId();
|
||||
}
|
||||
|
||||
$itemRevisionsIds[ $item->getId() ] = $itemRevisionsId;
|
||||
$didInsert = true;
|
||||
}
|
||||
|
||||
$itemRevisionsIds[ $item->getId() ] = $itemRevisionsId;
|
||||
}
|
||||
}, $dbw::ATOMIC_CANCELABLE );
|
||||
|
||||
|
|
Loading…
Reference in a new issue