diff --git a/admin/registration/forms.php b/admin/registration/forms.php index 8843c29a761..570bad5f5cd 100644 --- a/admin/registration/forms.php +++ b/admin/registration/forms.php @@ -246,6 +246,7 @@ class site_registration_form extends moodleform { // $mform->setType('imageurl', PARAM_URL); // $mform->setDefault('imageurl', $imageurl); // $mform->addHelpButton('imageurl', 'imageurl', 'hub'); + $mform->addElement('hidden', 'imageurl', ''); //TODO: temporary /// Display statistic that are going to be retrieve by the hub $coursecount = $DB->count_records('course')-1;