🌐 Improve DBObject::CheckValue and CheckConsistency error messages (#288)

Now contains attribute code and value
This commit is contained in:
Thomas Casteleyn
2022-05-17 17:01:41 +02:00
committed by GitHub
parent 46713236c4
commit 3d04cf1cd6
5 changed files with 12 additions and 11 deletions

View File

@@ -3957,7 +3957,7 @@ HTML;
}
elseif ($iFlags & OPT_ATT_SLAVE)
{
$aErrors[$sAttCode] = Dict::Format('UI:AttemptingToSetASlaveAttribute_Name', $oAttDef->GetLabel());
$aErrors[$sAttCode] = Dict::Format('UI:AttemptingToSetASlaveAttribute_Name', $oAttDef->GetLabel(), $sAttCode);
}
else
{