HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Skip navigation

Quiz winner calculation issue

Title Quiz winner calculation issue
Description There is a rare bug calculating the winners of a quiz. A PHP error is given if the quiz has one less entrants than the number of possible winners.
Affects All users
Fix Change line 149 of adminzone/pages/modules/admin_quiz.php from:

Code

         if ($num_winners>count($entries)) $num_winners=count($entries)-1;
to:

Code

         if ($num_winners>=count($entries)) $num_winners=count($entries)-1;


Trackbacks

There have been no trackbacks yet


There have been no comments yet


Make comment
Your name: (join or login)
Subject:
Your message: