diff --git a/application/Espo/Core/Field/Currency.php b/application/Espo/Core/Field/Currency.php index 1d06c552ec..1439e4d80d 100644 --- a/application/Espo/Core/Field/Currency.php +++ b/application/Espo/Core/Field/Currency.php @@ -117,7 +117,7 @@ class Currency public function subtract(self $value): self { if ($this->getCode() !== $value->getCode()) { - throw new RuntimeException("Can't substract a currency value with a different code."); + throw new RuntimeException("Can't subtract a currency value with a different code."); } $amount = CalculatorUtil::subtract(