Closed (fixed)
Project:
Quiz
Version:
6.x-4.0-rc9
Component:
Code - Quiz module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Nov 2010 at 16:38 UTC
Updated:
18 Nov 2010 at 19:20 UTC
in the function _quiz_maintain_results(), the query for QUIZ_KEEP_BEST fails
on line 3476
$res = db_query($sql, $quiz->nid, $user->uid, $quiz->nid, $user->uid, $quiz->nid, $user-uid);
should be
$res = db_query($sql, $quiz->nid, $user->uid, $quiz->nid, $user->uid, $quiz->nid, $user->uid);
notice the last $user->uid.
Comments
Comment #1
arbee commentedWorked perfectly. Thanks, loze!
Comment #2
sivaji_ganesh_jojodae commentedThanks. Fix has been committed to CVS.