diff --git a/core/dbobject.class.php b/core/dbobject.class.php index 147764f93..7ed130eac 100644 --- a/core/dbobject.class.php +++ b/core/dbobject.class.php @@ -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())