mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
Fix typo in exception message
Regression introduced in fe179079 in support/3.0 branch and upwards
This commit is contained in:
@@ -1983,7 +1983,7 @@ abstract class DBObject implements iDisplay
|
|||||||
/** @var \AttributeExternalKey $oAtt */
|
/** @var \AttributeExternalKey $oAtt */
|
||||||
$sTargetClass = $oAtt->GetTargetClass();
|
$sTargetClass = $oAtt->GetTargetClass();
|
||||||
if (false === MetaModel::IsObjectInDB($sTargetClass, $toCheck)) {
|
if (false === MetaModel::IsObjectInDB($sTargetClass, $toCheck)) {
|
||||||
return "Target object not found (".$sTargetClass.".::".$toCheck.")";
|
return "Target object not found ({$sTargetClass}::{$toCheck})";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($oAtt->IsHierarchicalKey())
|
if ($oAtt->IsHierarchicalKey())
|
||||||
|
|||||||
Reference in New Issue
Block a user