From ea77aa0617c0251541884dea37bc1cd890da5c19 Mon Sep 17 00:00:00 2001 From: mjollnir_ Date: Mon, 22 Nov 2004 03:34:49 +0000 Subject: [PATCH] Fixed another instance of getting all fields from all courses (in log selector) --- course/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/lib.php b/course/lib.php index 398d15945c6..38006871474 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";