mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-29030 fix report_log paging
This commit is contained in:
parent
a260c84796
commit
f621e30b49
@ -80,13 +80,13 @@ if ($mode === 'today') {
|
||||
report_log_print_graph($course, $user->id, "userday.png");
|
||||
echo '</div>';
|
||||
print_log($course, $user->id, usergetmidnight(time()), "l.time DESC", $page, $perpage,
|
||||
"user.php?id=$course->id&user=$user->id&mode=$mode");
|
||||
"user.php?course=$course->id&id=$user->id&mode=$mode");
|
||||
} else {
|
||||
echo '<div class="graph">';
|
||||
report_log_print_graph($course, $user->id, "usercourse.png");
|
||||
echo '</div>';
|
||||
print_log($course, $user->id, 0, "l.time DESC", $page, $perpage,
|
||||
"user.php?id=$course->id&user=$user->id&mode=$mode");
|
||||
"user.php?course=$course->id&id=$user->id&mode=$mode");
|
||||
}
|
||||
|
||||
echo $OUTPUT->footer();
|
Loading…
x
Reference in New Issue
Block a user