mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
Merge branch 'w04_MDL-31177_m22_odsexport' of git://github.com/skodak/moodle into MOODLE_22_STABLE
This commit is contained in:
commit
6f421476a9
1 changed files with 1 additions and 1 deletions
|
@ -818,7 +818,7 @@ function print_log_ods($course, $user, $date, $order='l.time DESC', $modname,
|
|||
|
||||
$coursecontext = get_context_instance(CONTEXT_COURSE, $course->id);
|
||||
|
||||
$myxls->write_string($row, 0, format_string($courses[$log->course], true, array('context' => $context)));
|
||||
$myxls->write_string($row, 0, format_string($courses[$log->course], true, array('context' => $coursecontext)));
|
||||
$myxls->write_date($row, 1, $log->time);
|
||||
$myxls->write_string($row, 2, $log->ip);
|
||||
$fullname = fullname($log, has_capability('moodle/site:viewfullnames', $coursecontext));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue