]> git.mjollnir.org Git - moodle.git/commitdiff
Changed to calls to print_log_selector_form() with modname not set
authorstronk7 <stronk7>
Fri, 13 Feb 2004 23:53:36 +0000 (23:53 +0000)
committerstronk7 <stronk7>
Fri, 13 Feb 2004 23:53:36 +0000 (23:53 +0000)
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

index 28ca916a4adb0e2685ea085aba9a15a821fd9425..3fc45b3e9a4069aa662350b73b81f7e3f6e98eec 100644 (file)
         
         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) {