From c4936225c42c8340341d9b6b9136ae714117c605 Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Sun, 30 May 2004 11:24:00 +0000 Subject: [PATCH] Fixed breadcrumbs and some of the many undefined variables notices --- course/recent.php | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/course/recent.php b/course/recent.php index 351c92df74..d161da0adc 100644 --- a/course/recent.php +++ b/course/recent.php @@ -42,8 +42,7 @@ id\">$strrecentactivity -> $userinfo, $dateinfo", ""); } else { print_header("$course->shortname: $strrecentactivity", "$course->fullname", - "admin/index.php\">$stradministration -> - id\">$strrecentactivity -> $userinfo, $dateinfo", ""); + "id\">$strrecentactivity -> $userinfo, $dateinfo", ""); } print_heading("$course->fullname: $userinfo, $dateinfo (".usertimezone().")"); @@ -67,15 +66,21 @@ "id\">$course->shortname -> $strrecentactivity", ""); } else { print_header("$course->shortname: $strrecentactivity", "$course->fullname", - "admin/index.php\">$stradministration -> $strrecentactivity", ""); + "$strrecentactivity", ""); } print_heading(get_string("activitysince", "", userdate($date))); + if (!isset($advancedfilter)) { + $advancedfilter = 0; + } print_recent_selector_form($course, $advancedfilter); } + if (!isset($modid)) { + $modid="activity/All"; + } $tmpmodid = $modid; switch ($tmpmodid) { -- 2.39.5