Merge pull request #496 from arse/master
Testing for key existance in basicEntityPersister / getIndividualValue
This commit is contained in:
commit
57e5fa9873
1 changed files with 5 additions and 1 deletions
|
@ -1696,7 +1696,11 @@ class BasicEntityPersister
|
||||||
$idValues = $class->getIdentifierValues($value);
|
$idValues = $class->getIdentifierValues($value);
|
||||||
}
|
}
|
||||||
|
|
||||||
$value = $idValues[key($idValues)];
|
$key = key($idValues);
|
||||||
|
|
||||||
|
if (null !== $key){
|
||||||
|
$value = $idValues[$key];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return $value;
|
return $value;
|
||||||
|
|
Loading…
Add table
Reference in a new issue