File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/Catalog/Setup/Patch/Data Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -38,13 +38,13 @@ public function apply()
38
38
$ configTable = $ this ->moduleDataSetup ->getTable ('core_config_data ' );
39
39
$ select = $ this ->moduleDataSetup ->getConnection ()->select ()
40
40
->from ($ configTable )
41
- ->where ('path = ? ' , \ Magento \ Catalog \ Helper \Data:: CONFIG_PARSE_URL_DIRECTIVES );
41
+ ->where ('path = ? ' , ' catalog/frontend/parse_url_directives ' );
42
42
$ config = $ this ->moduleDataSetup ->getConnection ()->fetchAll ($ select );
43
43
if (!empty ($ config )) {
44
44
$ this ->moduleDataSetup ->getConnection ()->update (
45
45
$ configTable ,
46
- ['value ' => new \ Zend_Db_Expr ( '1 ' ) ],
47
- ['path = ? ' => \ Magento \ Catalog \ Helper \Data:: CONFIG_PARSE_URL_DIRECTIVES , 'value IN (?) ' => '0 ' ]
46
+ ['value ' => '1 ' ],
47
+ ['path = ? ' => ' catalog/frontend/parse_url_directives ' , 'value IN (?) ' => '0 ' ]
48
48
);
49
49
}
50
50
}
You can’t perform that action at this time.
0 commit comments