From: nicolasconnault Date: Tue, 17 Jun 2008 07:05:44 +0000 (+0000) Subject: MDL-15100 fixed typo ('param' instead of 'array') X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=845fe812a8caf7ee45df6c59d93cf867d99437ac;p=moodle.git MDL-15100 fixed typo ('param' instead of 'array') --- diff --git a/lib/gradelib.php b/lib/gradelib.php index ec2a676197..4c56bc2f64 100644 --- a/lib/gradelib.php +++ b/lib/gradelib.php @@ -1282,7 +1282,7 @@ function grade_cron() { SELECT 'x' FROM {grade_items} c WHERE c.itemtype='course' AND c.needsupdate=0 AND c.courseid=i.courseid)"; // go through all courses that have proper final grades and lock them if needed - if ($rs = $DB->get_recordset_sql($sql, params($now))) { + if ($rs = $DB->get_recordset_sql($sql, array($now))) { foreach ($rs as $item) { $grade_item = new grade_item($item, false); $grade_item->locked = $now;