Fixed another instance of getting all fields from all courses (in log selector)
This commit is contained in:
+1
-1
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user