From ecb403f74587e5b795d093ca6fae592dd338dd59 Mon Sep 17 00:00:00 2001 From: Makar Sichevoi Date: Tue, 5 Dec 2023 11:45:01 +0200 Subject: [PATCH] fix: feature flag for xml editor --- models/classes/xmlEditor/XmlEditor.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/classes/xmlEditor/XmlEditor.php b/models/classes/xmlEditor/XmlEditor.php index 51e9aa659..a39399b65 100644 --- a/models/classes/xmlEditor/XmlEditor.php +++ b/models/classes/xmlEditor/XmlEditor.php @@ -61,8 +61,8 @@ public function isLocked(): bool { if ( $this->getFeatureFlagChecker()->isEnabled(self::FEATURE_FLAG_XML_EDITOR_ENABLED) - || $this->getFeatureFlagChecker()->isEnabled(self::LEGACY_FEATURE_FLAG_XML_EDITOR_ENABLED)) - { + || $this->getFeatureFlagChecker()->isEnabled(self::LEGACY_FEATURE_FLAG_XML_EDITOR_ENABLED) + ) { return false; }