Update core/attributedef.class.inc.php

Co-authored-by: Molkobain <lajarige.guillaume@free.fr>
This commit is contained in:
Stephen Abello
2026-07-15 14:16:31 +02:00
committed by GitHub
parent af61ca3311
commit 0d98b141bb

View File

@@ -915,7 +915,7 @@ abstract class AttributeDefinition
* @return string
* @since 3.2.3-2 3.2.4 3.3.0 N°9759
*/
public function TrimValue(string $sValue)
public function TrimValue(?string $sValue)
{
$iMaxSize = $this->GetMaxSize();
$iLength = mb_strlen($sValue);