EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
cs
Yuri Kuznetsovff045692d0da
diff --git a/application/Espo/Core/Formula/Parser.php b/application/Espo/Core/Formula/Parser.phpindex 046fd76d52..0327e365d8 100644--- a/application/Espo/Core/Formula/Parser.php+++ b/application/Espo/Core/Formula/Parser.php@@ -1427,7 +1427,7 @@ class Parser$isDecrement = true;$value = rtrim(substr($value, 0, -2));- } else if (str_ends_with($expression, ']') && str_contains($expression, '[')) {+ } else if (str_ends_with($expression, ']') && str_contains($expression, '[')) {$bracketPosition = strpos($expression, '[');$value = substr($expression, 1, $bracketPosition - 1);