Allow A. B. C. in addition to A) B) C)
authormoodler <moodler>
Mon, 1 Dec 2003 12:21:49 +0000 (12:21 +0000)
committermoodler <moodler>
Mon, 1 Dec 2003 12:21:49 +0000 (12:21 +0000)
mod/quiz/format/aiken.php

index cc173e00d0bcb822a562e78a8690003ea63ca248..47817dd6487057d125c7d8b35caa1c3e3454290d 100644 (file)
@@ -50,7 +50,7 @@ class quiz_file_format extends quiz_default_format {
                 //                This will show everyline when file is being processed
                 //                print("$nowline<br>");
                 $leader = substr(ltrim($nowline),0,2);
-                if (strpos(",A),B),C),D),E),F),G),H),I),J)",$leader)>0){
+                if (strpos(".A)B)C)D)E)F)G)H)I)J)A.B.C.D.E.F.G.H.I.J.",$leader)>0){
                     //trim off the label and space
                     $question->answer[] = substr($nowline,3);
                     $question->fraction[] = 0;