Skip to content

Commit

Permalink
fix skodak's fix... courseid is not param, it is an order by field.
Browse files Browse the repository at this point in the history
  • Loading branch information
ethem committed Jun 11, 2008
1 parent 79aa29f commit 1a2e98f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enrol/authorize/enrol.php
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ public function cron()
$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 = '';
Expand Down

0 comments on commit 1a2e98f

Please sign in to comment.