1
0
mirror of synced 2025-02-02 13:31:45 +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 committed by Benjamin Eberlei
parent c095b88804
commit e8978ee365

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]);
}
}