diff --git a/Services/classes/Interactions/Hole.php b/Services/classes/Interactions/Hole.php
index <HASH>..<HASH> 100644
--- a/Services/classes/Interactions/Hole.php
+++ b/Services/classes/Interactions/Hole.php
@@ -172,10 +172,11 @@ class Hole extends Interaction
     private function getScoreHole($hole, $response)
     {
         $em = $this->doctrine->getManager();
+        $mark = 0;
         if ($hole->getSelector() == true) {
             $wr = $em->getRepository('UJMExoBundle:WordResponse')->find($response);
             $mark = $wr->getScore();
-        } else {
+        } else {            
             foreach ($hole->getWordResponses() as $wr) {
                 $mark += $this->getScoreWordResponse($wr, $response);
             }
[ExoBundle] Passing exercise : bug correction hole mark