EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
Use qualifiers
Yurii55af2c9212ee
diff --git a/application/Espo/Tools/Layout/CustomLayoutService.php b/application/Espo/Tools/Layout/CustomLayoutService.phpindex 0540e0b24c..a85f4d2e5a 100644--- a/application/Espo/Tools/Layout/CustomLayoutService.php+++ b/application/Espo/Tools/Layout/CustomLayoutService.php@@ -29,6 +29,7 @@namespace Espo\Tools\Layout;+use Espo\Core\Binding\Attributes\Qualify;use Espo\Core\DataManager;use Espo\Core\Exceptions\BadRequest;use Espo\Core\Exceptions\Conflict;@@ -46,6 +47,7 @@ class CustomLayoutServicepublic function __construct(private Metadata $metadata,private FileManager $fileManager,+ #[Qualify(Language::QUALIFIER_BASE)]private Language $baseLanguage,private LayoutProvider $layoutProvider,private DataManager $dataManager