MDL-21676 user: minor gravatar fixes
[moodle.git] / user / editlib.php
index 168b5f0..59228ec 100644 (file)
@@ -263,7 +263,7 @@ function useredit_shared_definition(&$mform, $editoroptions = null) {
         $mform->addElement('header', 'moodle_picture', get_string('pictureofuser'));
 
         if (!empty($CFG->enablegravatar)) {
-            $mform->addElement('static', 'gravatarenabled', get_string('gravatarenabled'));
+            $mform->addElement('html', html_writer::tag('p', get_string('gravatarenabled')));
         }
 
         $mform->addElement('static', 'currentpicture', get_string('currentpicture'));