diff --git a/core/dbobject.class.php b/core/dbobject.class.php index 8f283c30fa..1de1c5c9ee 100644 --- a/core/dbobject.class.php +++ b/core/dbobject.class.php @@ -1983,7 +1983,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())