From cdcc069099250d4dbc40e70d186375ceed521193 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 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())