From dc12eb874cc2d505986581e91d51703139342c78 Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Tue, 9 May 2023 14:02:02 +0200 Subject: [PATCH] Fix typo in exception message Regression introduced in fe179079 in support/3.0 branch and upwards --- core/dbobject.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())