Skip to content

Commit

Permalink
Fix bug in getallattempts script that was suppressing -precheck, -sub…
Browse files Browse the repository at this point in the history
…mit etc rows.
  • Loading branch information
trampgeek committed Mar 27, 2024
1 parent e1ba46f commit c2a133d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions getallattempts.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ function export_class_instance($exportclass = null) {
JOIN {quiz_slots} slot ON qatt.slot = slot.slot AND slot.quizid = quiza.quiz";

$where = "quiza.preview = 0
AND (qasd.name NOT LIKE '-_%' OR qasd.name = '-_rawfraction')
AND (qasd.name NOT LIKE '^_%' OR qasd.name = '_testoutcome')
AND (qasd.name NOT LIKE '-\_%' OR qasd.name = '-_rawfraction')
AND (qasd.name NOT LIKE '\_%' OR qasd.name = '_testoutcome')
AND quest.length > 0
ORDER BY quiza.uniqueid, timestamp";

Expand Down

0 comments on commit c2a133d

Please sign in to comment.