浏览代码

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