From: moodler Date: Wed, 5 Apr 2006 03:17:20 +0000 (+0000) Subject: Fix the log graphs which had been broken by the reports move X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=980a5b3a631db0394a5d4dae0a5dd5547ad452ac;p=moodle.git Fix the log graphs which had been broken by the reports move --- diff --git a/course/lib.php b/course/lib.php index 6014697d59..7710092c6b 100644 --- a/course/lib.php +++ b/course/lib.php @@ -437,7 +437,7 @@ function print_log_graph($course, $userid=0, $type="course.png", $date=0) { if (empty($CFG->gdversion)) { echo "(".get_string("gdneed").")"; } else { - echo 'wwwroot.'/course/report/log/graph.php?id='.$course->id. '&user='.$userid.'&type='.$type.'&date='.$date.'" alt="" />'; } } diff --git a/course/report/log/graph.php b/course/report/log/graph.php index b04ef87ba1..f888b119ec 100644 --- a/course/report/log/graph.php +++ b/course/report/log/graph.php @@ -1,8 +1,8 @@ libdir/graphlib.php"); $id = required_param('id',PARAM_INT); // Course ID