code style fix

This commit is contained in:
odain
2025-11-14 10:41:47 +01:00
parent 2b1ecf15b4
commit 5b7a5e14a3
7 changed files with 29 additions and 37 deletions

View File

@@ -2397,9 +2397,8 @@ class SynchroReplica extends DBObject implements iDisplay
}
}
// Really modified ?
if ($oDestObj->IsModified())
{
if(method_exists(get_class($oDestObj), "SetCurrentChange")){
if ($oDestObj->IsModified()) {
if (method_exists(get_class($oDestObj), "SetCurrentChange")) {
$oDestObj::SetCurrentChange($oChange);
}
$oDestObj->DBUpdate();
@@ -2452,7 +2451,7 @@ class SynchroReplica extends DBObject implements iDisplay
}
}
if(method_exists(get_class($oDestObj), "SetCurrentChange")){
if (method_exists(get_class($oDestObj), "SetCurrentChange")) {
$oDestObj::SetCurrentChange($oChange);
}
$iNew = $oDestObj->DBInsert();