From d2c3605c83bc5df1921788075a7b3c3f03bc2e98 Mon Sep 17 00:00:00 2001 From: stronk7 Date: Fri, 13 Feb 2004 23:53:36 +0000 Subject: [PATCH] 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... --- course/log.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/course/log.php b/course/log.php index 28ca916a4a..3fc45b3e9a 100644 --- a/course/log.php +++ b/course/log.php @@ -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) { -- 2.39.5