Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added missing as junk words

  • Loading branch information...
commit 52c1134dd4c8eb9366b1df95f37a499b2f6ab806 1 parent ffb7b55
paca70 authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 mod/quiz/db/postgres7.php
View
6 mod/quiz/db/postgres7.php
@@ -815,7 +815,7 @@ function quiz_upgrade($oldversion) {
// Remove duplicate entries from quiz_numerical
if ($dups = get_records_sql("
- SELECT question, answer, count(*) num
+ SELECT question, answer, count(*) as num
FROM {$CFG->prefix}quiz_numerical
GROUP BY question, answer
HAVING count(*) > 1"
@@ -840,7 +840,7 @@ function quiz_upgrade($oldversion) {
// Remove duplicate entries from quiz_shortanswer
if ($dups = get_records_sql("
- SELECT question, answers, count(*) num
+ SELECT question, answers, count(*) as num
FROM {$CFG->prefix}quiz_shortanswer
GROUP BY question, answers
HAVING count(*) > 1"
@@ -865,7 +865,7 @@ function quiz_upgrade($oldversion) {
// Remove duplicate entries from quiz_multichoice
if ($dups = get_records_sql("
- SELECT question, answers, count(*) num
+ SELECT question, answers, count(*) as num
FROM {$CFG->prefix}quiz_multichoice
GROUP BY question, answers
HAVING count(*) > 1"
Please sign in to comment.
Something went wrong with that request. Please try again.