Selaa lähdekoodia

Evolution #146: Modération

bastien 13 vuotta sitten
vanhempi
commit
3b7c62f49d
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      src/Muzich/CoreBundle/Managers/ElementReportManager.php

+ 1 - 0
src/Muzich/CoreBundle/Managers/ElementReportManager.php Näytä tiedosto

30
     {
30
     {
31
       $ids[] = (string)$user->getId();
31
       $ids[] = (string)$user->getId();
32
     }
32
     }
33
+    $this->element->setCountReport(count($ids));
33
     $this->element->setReportIds($ids);
34
     $this->element->setReportIds($ids);
34
   }
35
   }
35
   
36