Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed typo, see bug 3687

  • Loading branch information...
commit 35bcb9215086910318eae56e41827494e98df254 1 parent 91117d8
gustav_delius authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/quiz/db/mysql.php
View
2  mod/quiz/db/mysql.php
@@ -867,7 +867,7 @@ function quiz_upgrade($oldversion) {
execute_sql("UPDATE {$CFG->prefix}quiz_attempts SET uniqueid = id", false);
// we set $CFG->attemptuniqueid to the next available id
$record = get_record_sql("SELECT max(id)+1 AS nextid FROM {$CFG->prefix}quiz_attempts");
- set_config('attemptuniqueid', empty($record->nextid) ? 1 : $record->nextid));
+ set_config('attemptuniqueid', empty($record->nextid) ? 1 : $record->nextid);
}
return true;
Please sign in to comment.
Something went wrong with that request. Please try again.