Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added missing as junk words

  • Loading branch information...
commit 52c1134dd4c8eb9366b1df95f37a499b2f6ab806 1 parent ffb7b55
authored June 07, 2005

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. 6  mod/quiz/db/postgres7.php
6  mod/quiz/db/postgres7.php
@@ -815,7 +815,7 @@ function quiz_upgrade($oldversion) {
815 815
 
816 816
         // Remove duplicate entries from quiz_numerical
817 817
         if ($dups = get_records_sql("
818  
-                SELECT question, answer, count(*) num
  818
+                SELECT question, answer, count(*) as num
819 819
                 FROM {$CFG->prefix}quiz_numerical
820 820
                 GROUP BY question, answer
821 821
                 HAVING count(*) > 1"
@@ -840,7 +840,7 @@ function quiz_upgrade($oldversion) {
840 840
 
841 841
         // Remove duplicate entries from quiz_shortanswer
842 842
         if ($dups = get_records_sql("
843  
-                SELECT question, answers, count(*) num
  843
+                SELECT question, answers, count(*) as num
844 844
                 FROM {$CFG->prefix}quiz_shortanswer
845 845
                 GROUP BY question, answers
846 846
                 HAVING count(*) > 1"
@@ -865,7 +865,7 @@ function quiz_upgrade($oldversion) {
865 865
 
866 866
         // Remove duplicate entries from quiz_multichoice
867 867
         if ($dups = get_records_sql("
868  
-                SELECT question, answers, count(*) num
  868
+                SELECT question, answers, count(*) as num
869 869
                 FROM {$CFG->prefix}quiz_multichoice
870 870
                 GROUP BY question, answers
871 871
                 HAVING count(*) > 1"

0 notes on commit 52c1134

Please sign in to comment.
Something went wrong with that request. Please try again.