Skip to content
Browse files

Fixed another instance of getting all fields from all courses (in log…

… selector)
  • Loading branch information...
1 parent d44af20 commit ea77aa0617c0251541884dea37bc1cd890da5c19 mjollnir_ committed Nov 22, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/lib.php
View
2 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";

0 comments on commit ea77aa0

Please sign in to comment.
Something went wrong with that request. Please try again.