ソースを参照

Evolution #146: Modération

bastien 13 年 前
コミット
3b7c62f49d
共有1 個のファイルを変更した1 個の追加0 個の削除を含む
  1. 1 0
      src/Muzich/CoreBundle/Managers/ElementReportManager.php

+ 1 - 0
src/Muzich/CoreBundle/Managers/ElementReportManager.php ファイルの表示

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