Skip to content

Commit e110238

Browse files
authored
Merge pull request #6029 from magento-engcom/2.4.1-develop-MC-36748
- fixed MC-36748: strpos() expects parameter 1 to be string, bool given
2 parents e23e810 + 3b941a6 commit e110238

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)