Fix typo in exception message

Regression introduced in fe179079 in support/3.0 branch and upwards
This commit is contained in:
Pierre Goiffon
2023-05-09 14:02:02 +02:00
committed by odain
parent 248ae03b72
commit dc12eb874c

View File

@@ -1983,7 +1983,7 @@ abstract class DBObject implements iDisplay
/** @var \AttributeExternalKey $oAtt */ /** @var \AttributeExternalKey $oAtt */
$sTargetClass = $oAtt->GetTargetClass(); $sTargetClass = $oAtt->GetTargetClass();
if (false === MetaModel::IsObjectInDB($sTargetClass, $toCheck)) { if (false === MetaModel::IsObjectInDB($sTargetClass, $toCheck)) {
return "Target object not found (".$sTargetClass.".::".$toCheck.")"; return "Target object not found ({$sTargetClass}::{$toCheck})";
} }
} }
if ($oAtt->IsHierarchicalKey()) if ($oAtt->IsHierarchicalKey())