Modified executeInserts method in JoinedSubclassPersister to only check for the presence of columns in a composite primary key
This commit is contained in:
parent
c095b88804
commit
e8978ee365
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue