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
parent 8c639fc23a
commit cdcc069099

View File

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