EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
Fix reset create label
Yurii81544ee33c2c
diff --git a/application/Espo/Tools/EntityManager/EntityManager.php b/application/Espo/Tools/EntityManager/EntityManager.phpindex fcececc2b6..1dab8900d0 100644--- a/application/Espo/Tools/EntityManager/EntityManager.php+++ b/application/Espo/Tools/EntityManager/EntityManager.php@@ -768,6 +768,7 @@ class EntityManager$this->language->delete('Global', 'scopeNames', $name);$this->language->delete('Global', 'scopeNamesPlural', $name);+ $this->language->delete($name, 'labels', 'Create ' . $name);$this->language->save();$entityTypeParams = new Params($name, $type, $this->getCurrentParams($name));