Merge branch 'wip-MDL-50962-29' of git://github.com/abgreeve/moodle into MOODLE_29_STABLE
This commit is contained in:
@@ -192,13 +192,13 @@ function core_myprofile_navigation(core_user\output\myprofile\tree $tree, $user,
|
||||
|
||||
if (isset($identityfields['department']) && $user->department) {
|
||||
$node = new core_user\output\myprofile\node('contact', 'department', get_string('department'), null, null,
|
||||
$user->institution);
|
||||
$user->department);
|
||||
$tree->add_node($node);
|
||||
}
|
||||
|
||||
if (isset($identityfields['idnumber']) && $user->idnumber) {
|
||||
$node = new core_user\output\myprofile\node('contact', 'idnumber', get_string('idnumber'), null, null,
|
||||
$user->institution);
|
||||
$user->idnumber);
|
||||
$tree->add_node($node);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user