]> git.mjollnir.org Git - moodle.git/commitdiff
fixed broken stats image link, Bug #5924 - User profile statistics tab; merged from...
authorskodak <skodak>
Mon, 26 Jun 2006 13:49:03 +0000 (13:49 +0000)
committerskodak <skodak>
Mon, 26 Jun 2006 13:49:03 +0000 (13:49 +0000)
course/user.php

index 4d7ad9216ebfe7ac853f45d3c3419cf9c9c4ef01..c062a8c4cc1a42dcb246c7393184e77105b40a1c 100644 (file)
                 error(get_string('nostatstodisplay'), $CFG->wwwroot.'/course/user.php?id='.$course->id.'&user='.$user->id.'&mode=outline');
             }
 
-            echo '<center><img src="'.$CFG->wwwroot.'/course/statsgraph.php?mode='.STATS_MODE_DETAILED.'&course='.$course->id.'&time='.$time.'&report='.STATS_REPORT_USER_VIEW.'&userid='.$user->id.'" /></center>';
+            echo '<center><img src="'.$CFG->wwwroot.'/course/report/stats/graph.php?mode='.STATS_MODE_DETAILED.'&course='.$course->id.'&time='.$time.'&report='.STATS_REPORT_USER_VIEW.'&userid='.$user->id.'" /></center>';
 
             $stats = stats_fix_zeros($stats,$param->timeafter,$param->table,(!empty($param->line2)),(!empty($param->line3)));