MDL-32203 completion: Fix issues with data object where clauses
This commit is contained in:
committed by
Aaron Barnes
parent
aa753ac24f
commit
dbfcf440fa
@@ -317,7 +317,7 @@ function completion_cron_completions() {
|
||||
foreach ($completions as $params) {
|
||||
$timecompleted = max($timecompleted, $params->timecompleted);
|
||||
|
||||
$completion = new completion_criteria_completion($params, false);
|
||||
$completion = new completion_criteria_completion((array)$params, false);
|
||||
|
||||
// Handle aggregation special cases
|
||||
if ($params->criteriatype == COMPLETION_CRITERIA_TYPE_ACTIVITY) {
|
||||
|
||||
Reference in New Issue
Block a user