Skip to content

Commit 3b941a6

Browse files
author
Stanislav Idolov
committed
MC-36748: strpos() expects parameter 1 to be string, bool given
1 parent e23e810 commit 3b941a6

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)