Compare commits

..

2 Commits

1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ class AlertRepository extends EntityRepository
$niveau01=($user?$user->getNiveau01():null); $niveau01=($user?$user->getNiveau01():null);
$groups=($user?$user->getGroups():[]); $groups=($user?$user->getGroups():[]);
$userreads=($user?$user->getAlertreaders():[]); $userreads=($user?$user->getAlertreaders():new ArrayCollection());
// Initialisation du calcul des alerts // Initialisation du calcul des alerts
$alerts=new ArrayCollection(); $alerts=new ArrayCollection();