Skip to content

Commit e593b6a

Browse files
author
skhalimon
committed
Add support for table prefix
1 parent 27217d0 commit e593b6a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/Theme/Ui/Component/Design/Config/DataProvider.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,10 @@ public function getData()
126126
private function getCoreConfigData(): array
127127
{
128128
$connection = $this->resourceConnection->getConnection();
129+
$tableName = $this->resourceConnection->getTableName('core_config_data');
130+
129131
return $connection->fetchAll(
130-
$connection->select()->from($connection->getTableName('core_config_data'))
132+
$connection->select()->from($tableName)
131133
->where('path = ?', 'design/theme/theme_id')
132134
);
133135
}

0 commit comments

Comments
 (0)