EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
Uncomment
Yurii20c5cf5c0876
diff --git a/application/Espo/Core/Utils/Metadata/AdditionalBuilder/CheckCorrectness.php b/application/Espo/Core/Utils/Metadata/AdditionalBuilder/CheckCorrectness.phpindex 88cb18c6c0..e14f53b876 100644--- a/application/Espo/Core/Utils/Metadata/AdditionalBuilder/CheckCorrectness.php+++ b/application/Espo/Core/Utils/Metadata/AdditionalBuilder/CheckCorrectness.php@@ -55,7 +55,7 @@ class CheckCorrectness implements AdditionalBuilder$hasEntityDefs = is_object($data->entityDefs->$scope ?? null);if (!$isEntity && !$hasEntityDefs) {- //throw new RuntimeException("Unexpected scope '$scope' entityAcl. Entity '$scope' is not defined.");+ throw new RuntimeException("Unexpected scope '$scope' entityAcl. Entity '$scope' is not defined.");}}}