Skip to content

Commit 785c9e9

Browse files
committed
MC-3062: Implement Always Rendering Magento directives on Storefront
-fix after CR
1 parent 61b0271 commit 785c9e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/Catalog/Setup/Patch/Data/EnableDirectiveParsing.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ public function apply()
3838
$configTable = $this->moduleDataSetup->getTable('core_config_data');
3939
$select = $this->moduleDataSetup->getConnection()->select()
4040
->from($configTable)
41-
->where('path = ?', \Magento\Catalog\Helper\Data::CONFIG_PARSE_URL_DIRECTIVES);
41+
->where('path = ?', 'catalog/frontend/parse_url_directives');
4242
$config = $this->moduleDataSetup->getConnection()->fetchAll($select);
4343
if (!empty($config)) {
4444
$this->moduleDataSetup->getConnection()->update(
4545
$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']
4848
);
4949
}
5050
}

0 commit comments

Comments
 (0)