From a9d5bc5d6078280b43a08dcd8c542d40007d55b9 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Fri, 24 Jun 2022 12:14:47 +0300 Subject: [PATCH] fix --- application/Espo/Tools/EntityManager/EntityManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/Espo/Tools/EntityManager/EntityManager.php b/application/Espo/Tools/EntityManager/EntityManager.php index a7903fb329..2987d665a9 100644 --- a/application/Espo/Tools/EntityManager/EntityManager.php +++ b/application/Espo/Tools/EntityManager/EntityManager.php @@ -1405,7 +1405,7 @@ class EntityManager $this->language->save(); if ($isCustom) { - if ($this->baseLanguage->getLanguage() !== $this->baseLanguage->getLanguage()) { + if ($this->language->getLanguage() !== $this->baseLanguage->getLanguage()) { if ($label) { $this->baseLanguage->set($entity, 'fields', $link, $label);