This commit is contained in:
Anne-Cath
2026-07-07 16:46:53 +02:00
parent 89384852c1
commit e08897a7ca
4 changed files with 46 additions and 45 deletions

View File

@@ -2035,7 +2035,7 @@ abstract class DBObject implements iDisplay
}
}
if (!is_null($iMaxSize = $oAtt->GetMaxSize())) {
$iLen = mb_strlen($toCheck);
$iLen = $oAtt->GetSize($toCheck);
if ($iLen > $iMaxSize) {
return "String too long (found $iLen, limited to $iMaxSize)";
}