Skip to content

Commit

Permalink
Fix typo in MessageManager constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
jmikola committed Dec 8, 2011
1 parent 33bec9b commit 48b3b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DocumentManager/MessageManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function __construct(DocumentManager $dm, $class, $metaClass)
$this->dm = $dm;
$this->repository = $dm->getRepository($class);
$this->class = $dm->getClassMetadata($class)->name;
$this->metaClass = $em->getClassMetadata($metaClass)->name;
$this->metaClass = $dm->getClassMetadata($metaClass)->name;
}

/**
Expand Down

0 comments on commit 48b3b4a

Please sign in to comment.