Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

- Fix crash when injection model has no mandatory fields defined
- Fix models created on parent entities can't be used on child entites
- Preserve `entities_id`

## [2.15.4] - 2026-03-16

Expand Down
4 changes: 4 additions & 0 deletions inc/commoninjectionlib.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1706,6 +1706,10 @@ private function effectiveAddOrUpdate($injectionClass, $item, $values, $add = tr
if (!$add && $key === 'id') {
$toinject[$key] = $value;
}

if ($key === 'entities_id') {
$toinject[$key] = $value;
}
}

$newID = null;
Expand Down