diff --git a/src/AppBundle/Service/OwnerService.php b/src/AppBundle/Service/OwnerService.php index 0b49959a..43b334cb 100755 --- a/src/AppBundle/Service/OwnerService.php +++ b/src/AppBundle/Service/OwnerService.php @@ -55,7 +55,7 @@ class OwnerService { $activeFestival = $user->getActiveFestival(); if ( ! $activeFestival ) { $activeFestival = $this->em->getRepository( 'AppBundle:Festival' ) - ->findOneBy( [ 'user' => $this->getUser()->getId() ], + ->findOneBy( [ 'user' => $user->getId() ], [ 'id' => 'desc' ], 0, 1 );