MDL-15107 feedback dml conversion

This commit is contained in:
agrabs 2008-06-22 16:49:06 +00:00
parent 6102a59d11
commit d90e0ef3d6

View File

@ -1480,7 +1480,7 @@ function feedback_get_current_completed($feedbackid, $tmp = false, $courseid = f
$params['courseid'] = intval($courseid);
$params['feedbackid'] = $feedbackid;
if (!$sqlresult = $DB->get_records_sql($sql)) {
if (!$sqlresult = $DB->get_records_sql($sql, $params)) {
return false;
}
foreach($sqlresult as $r) {