Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax error in 9.1.6 #119

Open
alvinnguyen opened this issue Aug 18, 2023 · 0 comments
Open

Syntax error in 9.1.6 #119

alvinnguyen opened this issue Aug 18, 2023 · 0 comments

Comments

@alvinnguyen
Copy link

alvinnguyen commented Aug 18, 2023

I'm not sure how this got passed QA but DI compilation will result in error due to syntax error
There is an error in vendor/bazaarvoice/bazaarvoice-magento2-ext/Model/Indexer/Flat.php at line: 640

Patch

--- vendor/bazaarvoice/bazaarvoice-magento2-ext/Model/Indexer/Flat.php	2023-08-18 10:09:27
+++ vendor/bazaarvoice/bazaarvoice-magento2-ext/Model/Indexer/Flat.php	2023-08-18 10:09:43
@@ -637,7 +637,7 @@
                 }
             }
 
-            if(!empty($indexData['category_external_id']) {
+            if(!empty($indexData['category_external_id'])) {
                 $indexData['category_external_id'] = str_replace('/', '-', $indexData['category_external_id']);
                 $indexData['category_external_id'] = str_replace('.html', '', $indexData['category_external_id']);
                 $indexData['category_external_id']

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant