From eddc63f4e80d143f5384d5caa9afe23716346070 Mon Sep 17 00:00:00 2001 From: Cameron Ball Date: Wed, 9 Sep 2015 10:55:15 +0800 Subject: [PATCH] MDL-51290 user: Expand picture section in profile by default --- user/editlib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/user/editlib.php b/user/editlib.php index 9dc30f78690..5c1e70af1f0 100644 --- a/user/editlib.php +++ b/user/editlib.php @@ -269,6 +269,7 @@ function useredit_shared_definition(&$mform, $editoroptions = null, $filemanager if (empty($USER->newadminuser)) { $mform->addElement('header', 'moodle_picture', get_string('pictureofuser')); + $mform->setExpanded('moodle_picture', true); if (!empty($CFG->enablegravatar)) { $mform->addElement('html', html_writer::tag('p', get_string('gravatarenabled')));