fix getuser in owner service
This commit is contained in:
parent
e9ef1dcef3
commit
2db69f1d7f
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue