Sfoglia il codice sorgente

Minor - Renamed constructor of FreeAnswer class to __construct

Yannick Warnier 11 anni fa
parent
commit
e82b65282d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      main/exercice/freeanswer.class.php

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

@@ -24,7 +24,7 @@ class FreeAnswer extends Question
     /**
      * Constructor
      */
-    function FreeAnswer()
+    function __construct()
     {
         parent::question();
         $this->type      = FREE_ANSWER;