mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
MDL-15107 feedback dml conversion
This commit is contained in:
parent
6102a59d11
commit
d90e0ef3d6
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user