Modified executeInserts method in JoinedSubclassPersister to only check for the presence of columns in a composite primary key
This commit is contained in:
parent
b6bf47a148
commit
27bae51fa0
@ -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]);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user