Skip to content

Commit

Permalink
fix delete waiting suivi on file #3348
Browse files Browse the repository at this point in the history
  • Loading branch information
hmeneuvrier committed Nov 27, 2024
1 parent 9810b4c commit a7b9f84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Controller/Back/SignalementFileController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit a7b9f84

Please sign in to comment.