Skip to content

Commit

Permalink
Merge branch 'w04_MDL-31177_m23_odsexport' of git://github.com/skodak…
Browse files Browse the repository at this point in the history
…/moodle
  • Loading branch information
Sam Hemelryk committed Jan 23, 2012
2 parents a56272c + dc76704 commit d66223e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit d66223e

Please sign in to comment.