BugFix reflClass is not always initialized getReflClass should be used instead since it initializes the variable if it's not set
This commit is contained in:
parent
ef81002634
commit
fa2e4c5dd1
@ -60,7 +60,7 @@ EOT
|
||||
$entityGenerator = $this->getEntityGenerator();
|
||||
|
||||
foreach ($metadatas as $metadata) {
|
||||
if ($filterEntity && $metadata->reflClass->getShortName() !== $filterEntity) {
|
||||
if ($filterEntity && $metadata->getReflClass()->getShortName() !== $filterEntity) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user