diff --git a/src/Controller/Back/SignalementFileController.php b/src/Controller/Back/SignalementFileController.php index 34ab26c1a..06de0960b 100755 --- a/src/Controller/Back/SignalementFileController.php +++ b/src/Controller/Back/SignalementFileController.php @@ -129,7 +129,9 @@ public function fileWaitingSuiviSignalement( ->set('f.isWaitingSuivi', 'false') ->where('f.signalement = :signalement') ->andWhere('f.isWaitingSuivi = true') + ->andWhere('f.uploadedBy = :user') ->setParameter('signalement', $signalement) + ->setParameter('user', $this->getUser()) ->getQuery(); $update->execute();