fix skodak's fix... courseid is not param, it is an order by field.

This commit is contained in:
ethem 2008-06-11 18:10:39 +00:00
parent 79aa29f298
commit 1a2e98fe22

View File

@ -648,7 +648,7 @@ class enrolment_plugin_authorize
$this->log = "AUTHORIZE.NET AUTOCAPTURE CRON: " . userdate($timenow) . "\n";
$lastcourseid = 0;
$rs = $DB->get_recordset_select('enrol_authorize', $select, 'courseid', $params);
$rs = $DB->get_recordset_select('enrol_authorize', $select, $params, 'courseid');
foreach ( $rs as $order)
{
$message = '';