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

@ -423,7 +423,7 @@ function glossary_get_participants($glossaryid) {
//Get students
$students = $DB->get_records_sql("SELECT DISTINCT u.id, u.id
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;