CMS MADE SIMPLE FORGE

quizzard

 

[#5758] Results of the test cannot be displayed due to Fatal error

avatar
Created By: Sofia Hauschildt (sonya)
Date Submitted: Fri Nov 26 09:01:07 -0500 2010

Assigned To:
Version: 0.8.2
CMSMS Version: None
Severity: Critical
Resolution: Fixed
State: Closed
Summary:
Results of the test cannot be displayed due to Fatal error
Detailed Description:
Cannot use object of type pear_ResultSet as array in
xxxx\modules\Quizzard\action.scorequiz.php on line 18

There is an error in previous line:
$quiz = $db->Execute($query,array($params['quiz_id']));

should be replaced by:
$quiz = $db->GetRow($query,array($params['quiz_id']));

as there is only one quiz that can have the ID.


History

Comments
avatar
Date: 2010-11-26 09:02
Posted By: Sofia Hauschildt (sonya)

see also Bug #5361 http://dev.cmsmadesimple.org/bug/view/5361
      
Updates

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

Updated: 2010-11-26 09:02
resolution_id: => 5