1
0
mirror of synced 2025-01-31 12:32:59 +03:00

Modified executeInserts method in JoinedSubclassPersister to only check for the presence of columns in a composite primary key

This commit is contained in:
Dustin Thomson 2013-08-11 19:41:10 -06:00
parent b6bf47a148
commit 27bae51fa0

View File

@ -197,7 +197,7 @@ class JoinedSubclassPersister extends AbstractEntityInheritancePersister
}
foreach ($data as $columnName => $value) {
if (!isset($id[$columnName])) {
if (!is_array($id) || !isset($id[$columnName])) {
$stmt->bindValue($paramIndex++, $value, $this->columnTypes[$columnName]);
}
}