Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
integration
prechecker
Commits
43ff71a0
Commit
43ff71a0
authored
Jul 31, 2012
by
Dan Poltawski
Browse files
MDL-34460 - fix syntax error I introduced.
doh.
parent
de7a570c
Changes
1
Hide whitespace changes
Inline
Side-by-side
user/lib.php
View file @
43ff71a0
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment