optiomisation sur annonces lues / non lues cas annonces visiteur (ref #33746)
This commit is contained in:
parent
c6d349696e
commit
702d060503
|
@ -46,7 +46,7 @@ class AlertRepository extends EntityRepository
|
|||
$niveau01=($user?$user->getNiveau01():null);
|
||||
$groups=($user?$user->getGroups():[]);
|
||||
|
||||
$userreads=($user?$user->getAlertreaders():[]);
|
||||
$userreads=($user?$user->getAlertreaders():new ArrayCollection());
|
||||
|
||||
// Initialisation du calcul des alerts
|
||||
$alerts=new ArrayCollection();
|
||||
|
|
Loading…
Reference in New Issue