Skip to content

Commit

Permalink
Merge pull request #1345 from zeroedin-bill/fix-crash-in-convertmappi…
Browse files Browse the repository at this point in the history
…ng-command

Fix crashes in ConvertMappingCommand and GenerateEntitiesCommand...
  • Loading branch information
Ocramius committed Mar 23, 2015
2 parents 525c77d + 4b10db3 commit 34168d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Doctrine/ORM/Mapping/ClassMetadataFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@ private function resolveDiscriminatorValue(ClassMetadata $metadata)
if ($metadata->discriminatorValue
|| ! $metadata->discriminatorMap
|| $metadata->isMappedSuperclass
|| ! $metadata->reflClass
|| $metadata->reflClass->isAbstract()
) {
return;
Expand Down

0 comments on commit 34168d7

Please sign in to comment.