Permalink
Browse files

fixed typo, see bug 3687

  • Loading branch information...
1 parent 91117d8 commit 35bcb9215086910318eae56e41827494e98df254 gustav_delius committed Jul 8, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/quiz/db/mysql.php
View
@@ -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;

0 comments on commit 35bcb92

Please sign in to comment.