Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-34460 - fix syntax error I introduced.

doh.
  • Loading branch information...
commit 43ff71a017758f2bc758bc14536c7cc01476e8dc 1 parent de7a570
Dan Poltawski danpoltawski authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  user/lib.php
2  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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.