Default field value for get_course_users should be '', not *

This commit is contained in:
moodler
2004-09-10 04:46:26 +00:00
parent ce31ac9abd
commit 24fac39fce
+1 -1
View File
@@ -1320,7 +1320,7 @@ function get_course_teachers($courseid, $sort="t.authority ASC", $exceptions='')
*
* @param type description
*/
function get_course_users($courseid, $sort="timeaccess DESC", $exceptions='', $fields='*') {
function get_course_users($courseid, $sort="timeaccess DESC", $exceptions='', $fields='') {
/// Using this method because the single SQL is too inefficient
// Note that this has the effect that teachers and students are