Skip to content

Commit

Permalink
stwe#947 add forgotten line for default em
Browse files Browse the repository at this point in the history
  • Loading branch information
mpeshehonov authored May 26, 2020
1 parent 50a088f commit 90a5a86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Datatable/AbstractDatatable.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ public function __construct(
$this->router = $router;
$this->doctrine = $doctrine;
$this->twig = $twig;

$em = $this->getEntityManager();
$this-em = $em = $this->getEntityManager();
$metadata = $em->getClassMetadata($this->getEntity());
$this->columnBuilder = new ColumnBuilder($metadata, $twig, $router, $this->getName(), $em);

Expand Down

0 comments on commit 90a5a86

Please sign in to comment.