Skip to content

Commit 304c6bb

Browse files
committed
Merge remote-tracking branch 'cont/Add-support-for-table-prefix' into AC-14556
2 parents e5271c3 + e593b6a commit 304c6bb

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)