Commit 43ff71a0 authored by Dan Poltawski's avatar Dan Poltawski
Browse files

MDL-34460 - fix syntax error I introduced.

doh.
parent de7a570c
......@@ -464,7 +464,7 @@ function user_get_user_details($user, $course = null, array $userfields = array(
$coursecontext = context_course::instance($mycourse->id);
$enrolledcourse = array();
$enrolledcourse['id'] = $mycourse->id;
$enrolledcourse['fullname'] = format_string($mycourse->fullname, true, array('context' => $coursecontext)));
$enrolledcourse['fullname'] = format_string($mycourse->fullname, true, array('context' => $coursecontext));
$enrolledcourse['shortname'] = format_string($mycourse->shortname, true, array('context' => $coursecontext));
$enrolledcourses[] = $enrolledcourse;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment