Permalink
Browse files

Merge branch 'w04_MDL-31177_m22_odsexport' of git://github.com/skodak…

…/moodle into MOODLE_22_STABLE
  • Loading branch information...
2 parents 3c6d27b + 918bcdc commit 6f421476a92608d90aa867dc0cbad10a0d016441 Sam Hemelryk committed Jan 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/lib.php
View
@@ -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));

0 comments on commit 6f42147

Please sign in to comment.