Skip to content

Commit

Permalink
MDL-34460 - fix syntax error I introduced.
Browse files Browse the repository at this point in the history
doh.
  • Loading branch information
danpoltawski committed Jul 31, 2012
1 parent de7a570 commit 43ff71a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion user/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 43ff71a

Please sign in to comment.