fix getuser in owner service
This commit is contained in:
parent
e9ef1dcef3
commit
2db69f1d7f
@ -55,7 +55,7 @@ class OwnerService {
|
|||||||
$activeFestival = $user->getActiveFestival();
|
$activeFestival = $user->getActiveFestival();
|
||||||
if ( ! $activeFestival ) {
|
if ( ! $activeFestival ) {
|
||||||
$activeFestival = $this->em->getRepository( 'AppBundle:Festival' )
|
$activeFestival = $this->em->getRepository( 'AppBundle:Festival' )
|
||||||
->findOneBy( [ 'user' => $this->getUser()->getId() ],
|
->findOneBy( [ 'user' => $user->getId() ],
|
||||||
[ 'id' => 'desc' ],
|
[ 'id' => 'desc' ],
|
||||||
0,
|
0,
|
||||||
1 );
|
1 );
|
||||||
|
Loading…
Reference in New Issue
Block a user