Permalink
Browse files

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

  • Loading branch information...
1 parent ce31ac9 commit 24fac39fced04a0d4127f7a51642411b8aee8542 moodler committed Sep 10, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/datalib.php
View
@@ -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

0 comments on commit 24fac39

Please sign in to comment.