EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
Fix array item trim
Yurii494f647789b9
diff --git a/application/Espo/Repositories/ArrayValue.php b/application/Espo/Repositories/ArrayValue.phpindex 26d3c356e3..0e54a7e4a5 100644--- a/application/Espo/Repositories/ArrayValue.php+++ b/application/Espo/Repositories/ArrayValue.php@@ -121,8 +121,8 @@ class ArrayValue extends Databasecontinue;}- if (strlen($value) > $itemMaxLength) {- $value = substr($value, 0, $itemMaxLength);+ if (mb_strlen($value) > $itemMaxLength) {+ $value = mb_substr($value, 0, $itemMaxLength);}$arrayValue = $this->getNew();