Created
April 22, 2025 07:09
-
-
Save ssx/8ecf6e98d5d3701f09c4bfbf532037a5 to your computer and use it in GitHub Desktop.
ACSD-65540_B2B_1.5.2.patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/vendor/magento/module-company/Setup/Patch/Data/SetCompanyForStructure.php b/vendor/magento/module-company/Setup/Patch/Data/SetCompanyForStructure.php | |
index 4dcb3dbcb5b3..7ba339a8703e 100644 | |
--- a/vendor/magento/module-company/Setup/Patch/Data/SetCompanyForStructure.php | |
+++ b/vendor/magento/module-company/Setup/Patch/Data/SetCompanyForStructure.php | |
@@ -71,7 +71,7 @@ public function apply() | |
$this->moduleDataSetup->getConnection()->update( | |
$this->moduleDataSetup->getTable('company_structure'), | |
['company_id' => $company['entity_id']], | |
- ['REGEXP_LIKE(path, ?)' => | |
+ ['path REGEXP ?' => | |
'^' . $adminStructureIds[$company['super_user_id']]['structure_id'] . '(/.+)?$'] | |
); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment