Merge pull request #496 from arse/master
Testing for key existance in basicEntityPersister / getIndividualValue
This commit is contained in:
commit
57e5fa9873
@ -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…
Reference in New Issue
Block a user