Fixing a couple of typos introduced likely at the time of dml conversion.

This commit is contained in:
jamiesensei 2008-08-15 09:21:33 +00:00
parent e4d825f543
commit 585fb1f447
2 changed files with 2 additions and 2 deletions

View file

@ -609,7 +609,7 @@ function choice_get_participants($choiceid) {
//Returns the users with data in one choice //Returns the users with data in one choice
//(users with records in choice_responses, students) //(users with records in choice_responses, students)
global $CFG; global $DB;
//Get students //Get students
$students = $DB->get_records_sql("SELECT DISTINCT u.id, u.id $students = $DB->get_records_sql("SELECT DISTINCT u.id, u.id

View file

@ -423,7 +423,7 @@ function glossary_get_participants($glossaryid) {
//Get students //Get students
$students = $DB->get_records_sql("SELECT DISTINCT u.id, u.id $students = $DB->get_records_sql("SELECT DISTINCT u.id, u.id
FROM {user} u, {glossary_entries} g FROM {user} u, {glossary_entries} g
WHERE g.glossaryid = : AND u.id = g.userid", array($glossaryid)); WHERE g.glossaryid = ? AND u.id = g.userid", array($glossaryid));
//Return students array (it contains an array of unique users) //Return students array (it contains an array of unique users)
return $students; return $students;