File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/code/Magento/CatalogUrlRewrite
Test/Unit/Model/Product/Plugin Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ protected function cleanOverriddenUrlKey()
289
289
return $ this ;
290
290
}
291
291
$ select = $ this ->connection ->select ()
292
- ->from ($ this ->urlKeyAttributeBackendTable , 'store_id, entity_id ' )
292
+ ->from ($ this ->urlKeyAttributeBackendTable , [ 'store_id ' , ' entity_id '] )
293
293
->where ('attribute_id = ? ' , $ this ->urlKeyAttributeId )
294
294
->where (implode (' OR ' , $ this ->entityStoresToCheckOverridden ));
295
295
$ entityStoresToClean = $ this ->connection ->fetchAll ($ select );
Original file line number Diff line number Diff line change @@ -616,7 +616,7 @@ public function testCleanOverriddenUrlKey()
616
616
->method ('from ' )
617
617
->with (
618
618
$ urlKeyAttributeBackendTable ,
619
- 'store_id, entity_id '
619
+ [ 'store_id ' , ' entity_id ']
620
620
)
621
621
->will ($ this ->returnSelf ());
622
622
$ this ->select
You can’t perform that action at this time.
0 commit comments