From: mjollnir_ Date: Mon, 22 Nov 2004 03:35:31 +0000 (+0000) Subject: Merged from MOODLE_14_STABLE: Fixed another instance of getting all fields from all... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=01669f1619f807e5390d5f3aba0898b5ee0a3491;p=moodle.git Merged from MOODLE_14_STABLE: Fixed another instance of getting all fields from all courses (in log selector) --- diff --git a/course/lib.php b/course/lib.php index 2ba587f68f..c49f960251 100644 --- a/course/lib.php +++ b/course/lib.php @@ -277,7 +277,7 @@ function print_log_selector_form($course, $selecteduser=0, $selecteddate="today" } if (isadmin()) { - if ($ccc = get_records("course", "", "", "fullname")) { + if ($ccc = get_records("course", "", "", "fullname","id,fullname,category")) { foreach ($ccc as $cc) { if ($cc->category) { $courses["$cc->id"] = "$cc->fullname";