CMS MADE SIMPLE FORGE

quizzard

 

[#5468] Error on sending the result of Quizz

avatar
Created By: Jean-Claude Etiemble (jce76350)
Date Submitted: Sun Sep 26 13:45:05 -0400 2010

Assigned To:
Version: 0.8.2
CMSMS Version: None
Severity: Major
Resolution: Fixed
State: Closed
Summary:
Error on sending the result of Quizz
Detailed Description:
Hi,

after Quizz questions use the send button and 

Fatal error: Cannot use object of type pear_ResultSet as array in
/modules/Quizzard/action.scorequiz.php on line 18
On the result page

Solved by :
 
$query = 'SELECT * from '.cms_db_prefix().'module_qz_quizzes where quiz_id=?';
//$quiz = $db->Execute($query,array($params['quiz_id']));// commet this line
$quiz = $db->Execute($query,($params['quiz_id']));


History

Updates

Updated: 2010-12-09 04:16
resolution_id: => 7
state: Open => Closed