Browse Source

Fixing d55a9e2

Angel Fernando Quiroz Campos 9 years ago
parent
commit
f23878148f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main/exercice/question.class.php

+ 1 - 1
main/exercice/question.class.php

@@ -1374,7 +1374,7 @@ abstract class Question
             unset(self::$questionTypes[ORAL_EXPRESSION]);
         }
         if (api_get_setting('enable_quiz_scenario') !== 'true') {
-            self::$questionTypes[HOT_SPOT_DELINEATION];
+            self::$questionTypes[HOT_SPOT_DELINEATION] = null;
             unset(self::$questionTypes[HOT_SPOT_DELINEATION]);
         }
         return self::$questionTypes;