Merge remote-tracking branch 'origin/support/3.2' into develop

This commit is contained in:
Eric Espie
2025-01-24 12:07:13 +01:00
6 changed files with 82 additions and 6 deletions

View File

@@ -6103,7 +6103,9 @@ JS
// We want to avoid launching the listener twice, first here, and secondly after saving the Ticket in the listener
// By disabling the event to be fired, we can remove the current object from the attribute !
$oObject = MetaModel::GetObject($sClass, $sId, false);
self::FireEventDbLinksChangedForObject($oObject);
if (!is_null($oObject)) {
self::FireEventDbLinksChangedForObject($oObject);
}
self::RemoveObjectAwaitingEventDbLinksChanged($sClass, $sId);
}