Skip to content

EspoCRM – Open Source CRM Application

fix message

Yuriidf51e2e916df
diff --git a/application/Espo/Core/Formula/Exceptions/BadArgumentType.php b/application/Espo/Core/Formula/Exceptions/BadArgumentType.php
index bec2b5bcda..f9fdeebb88 100644
--- a/application/Espo/Core/Formula/Exceptions/BadArgumentType.php
+++ b/application/Espo/Core/Formula/Exceptions/BadArgumentType.php
@@ -57,6 +57,6 @@ class BadArgumentType extends Error
$position = (string) ($this->position ?? '?');
$type = $this->type ?? '?';
- return "Bad argument type on position {$position}, must be {$type}.";
+ return "Bad argument type at position {$position}, must be {$type}.";
}
}
diff --git a/application/Espo/Core/Formula/Exceptions/BadArgumentValue.php b/application/Espo/Core/Formula/Exceptions/BadArgumentValue.php
index e132329478..fb754f86ee 100644
--- a/application/Espo/Core/Formula/Exceptions/BadArgumentValue.php
+++ b/application/Espo/Core/Formula/Exceptions/BadArgumentValue.php
@@ -55,7 +55,7 @@ class BadArgumentValue extends Error
{
$position = (string) ($this->position ?? '?');
- $message = "Bad argument value on position $position.";
+ $message = "Bad argument value at position $position.";
if ($this->logMessage) {
$message .= " " . $this->logMessage;