Permalink
Browse files

MDL-34460 - fix syntax error I introduced.

doh.
  • Loading branch information...
1 parent de7a570 commit 43ff71a017758f2bc758bc14536c7cc01476e8dc @danpoltawski danpoltawski committed Jul 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 user/lib.php
View
@@ -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;
}

0 comments on commit 43ff71a

Please sign in to comment.