From: Cameron Ball Date: Wed, 9 Sep 2015 02:55:15 +0000 (+0800) Subject: MDL-51290 user: Expand picture section in profile by default X-Git-Tag: v3.0.0-beta~289^2 X-Git-Url: http://git.moodle.org/gw?p=moodle.git;a=commitdiff_plain;h=80ef91effaf679afa36c80235829a8bf68b3713d MDL-51290 user: Expand picture section in profile by default --- diff --git a/user/editlib.php b/user/editlib.php index 836b12b1b62..a03c925f910 100644 --- a/user/editlib.php +++ b/user/editlib.php @@ -366,6 +366,7 @@ function useredit_shared_definition(&$mform, $editoroptions, $filemanageroptions 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')));