Skip to content

Commit d6c00a1

Browse files
committed
Merge remote-tracking branch 'mainline/2.4.1-develop' into MC-36276-internal-error
2 parents b2af5db + e110238 commit d6c00a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/Magento/Framework/App/ResourceConnection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ public function getTableName($modelEntity, $connectionName = self::DEFAULT_CONNE
178178
list($modelEntity, $tableSuffix) = $modelEntity;
179179
}
180180

181-
$tableName = $modelEntity;
181+
$tableName = (string)$modelEntity;
182182

183183
$mappedTableName = $this->getMappedTableName($tableName);
184184
if ($mappedTableName) {

0 commit comments

Comments
 (0)