Changed to calls to print_log_selector_form() with modname not set

to avoid two notices with debug on. I suppose that there isn't problems
with this because modname var doesn't exist in all the file, but...
This commit is contained in:
stronk7
2004-02-13 23:53:36 +00:00
parent 07bbc2d1c7
commit d2c3605c83
+2 -2
View File
@@ -58,11 +58,11 @@
print_heading("$course->fullname: $userinfo, $dateinfo (".usertimezone().")");
print_log_selector_form($course, $user, $date, $modname, $modid, $modaction);
print_log_selector_form($course, $user, $date, "", $modid, $modaction);
print_log($course, $user, $date, "l.time DESC", $page, $perpage,
"log.php?id=$course->id&chooselog=1&user=$user&date=$date&modid=$modid&modaction=$modaction",
$modname, $modid, $modaction);
"", $modid, $modaction);
} else {
if ($course->category) {