EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
handle legacy UndefinedKey errors consistently
Osama Bashire6e8a722bbce
diff --git a/application/Espo/Core/Formula/Processor.php b/application/Espo/Core/Formula/Processor.phpindex abbaf7fb8b..a028c6d5f2 100644--- a/application/Espo/Core/Formula/Processor.php+++ b/application/Espo/Core/Formula/Processor.php@@ -107,10 +107,6 @@ class Processorreturn $function->process($item->getArgumentList());} catch (UndefinedKey $e) {- if ($function instanceof DeprecatedBaseFunction) {- throw $e;- }-throw UndefinedKey::cloneWithLevelRisen($e);} catch (TooFewArguments|BadArgumentType|BadArgumentValue $e) {$message = sprintf('Function %s; %s', $item->getType(), $e->getLogMessage());