Permalink
Browse files

Sql fix.

  • Loading branch information...
ethem
ethem committed Jan 4, 2006
1 parent 6aaa17c commit 8a92768d719038330942a8518a56f0f1d4ffc4e3
Showing with 1 addition and 1 deletion.
  1. +1 −1 enrol/authorize/enrol.php
@@ -616,7 +616,7 @@ function cron()
$timediff28 = $timenowsettle - (28 * 3600 * 24);
$select = "(status = '" . AN_STATUS_AUTH . "') AND " .
"(timecreated < '$timediff28') AND (timecreated > '$timediff30')";
- if (!$count = count_records_select('enrol_authorize', $sql)) {
+ if (!$count = count_records_select('enrol_authorize', $select)) {
return;
}

0 comments on commit 8a92768

Please sign in to comment.