Permalink
Browse files

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

…/moodle into MOODLE_21_STABLE
  • Loading branch information...
Sam Hemelryk
Sam Hemelryk committed Jan 23, 2012
2 parents b706883 + 9e7ea20 commit 5d9e0f9291c9c53b43e6fbbb27cdc877d8468bfd
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/lib.php
View
@@ -815,7 +815,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 5d9e0f9

Please sign in to comment.