Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'MDL-34072' of git://github.com/appalachianstate/moodle …

…into MOODLE_23_STABLE
  • Loading branch information...
commit ff8ab720f05d48af3ddaacd51ed34ab86ebe06b8 2 parents 66681a5 + fd626c4
Sam Hemelryk samhemelryk authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 course/lib.php
4 course/lib.php
@@ -4033,7 +4033,7 @@ function average_number_of_participants() {
4033 4033 WHERE ue.enrolid = e.id
4034 4034 AND e.courseid <> :siteid
4035 4035 AND c.id = e.courseid
4036   - AND c.visible = 1) as total';
  4036 + AND c.visible = 1)';
4037 4037 $params = array('siteid' => $SITE->id);
4038 4038 $enrolmenttotal = $DB->count_records_sql($sql, $params);
4039 4039
@@ -4066,7 +4066,7 @@ function average_number_of_courses_modules() {
4066 4066 WHERE c.id = cm.course
4067 4067 AND c.id <> :siteid
4068 4068 AND cm.visible = 1
4069   - AND c.visible = 1) as total';
  4069 + AND c.visible = 1)';
4070 4070 $params = array('siteid' => $SITE->id);
4071 4071 $moduletotal = $DB->count_records_sql($sql, $params);
4072 4072

0 comments on commit ff8ab72

Please sign in to comment.
Something went wrong with that request. Please try again.