Browse Source

Note pas à 0

François 6 years ago
parent
commit
58820acb13
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/AppBundle/Controller/VideothequeController.php

+ 0 - 1
src/AppBundle/Controller/VideothequeController.php

@@ -153,7 +153,6 @@ class VideothequeController extends Controller
             $commentaireUser = new Commentaire();
             $commentaireUser->setUser($this->getUser());
             $commentaireUser->setFilm(($film));
-            $commentaireUser->setNote(0);
         }
         $form = $this->createForm('AppBundle\Form\CommentaireType', $commentaireUser);
         $form->handleRequest($request);