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
@ -197,7 +197,7 @@ class JoinedSubclassPersister extends AbstractEntityInheritancePersister
|
|||||||
}
|
}
|
||||||
|
|
||||||
foreach ($data as $columnName => $value) {
|
foreach ($data as $columnName => $value) {
|
||||||
if (!isset($id[$columnName])) {
|
if (!is_array($id) || !isset($id[$columnName])) {
|
||||||
$stmt->bindValue($paramIndex++, $value, $this->columnTypes[$columnName]);
|
$stmt->bindValue($paramIndex++, $value, $this->columnTypes[$columnName]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user