From 24fac39fced04a0d4127f7a51642411b8aee8542 Mon Sep 17 00:00:00 2001 From: moodler Date: Fri, 10 Sep 2004 04:46:26 +0000 Subject: [PATCH] Default field value for get_course_users should be '', not * --- lib/datalib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/datalib.php b/lib/datalib.php index e254de0edbe..78055d307c5 100644 --- a/lib/datalib.php +++ b/lib/datalib.php @@ -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