Show course extrafields for admin when editing course - refs BT#12404

remotes/angel/1.11.x
Angel Fernando Quiroz Campos 8 years ago
parent 82683603f8
commit ad78e1c9cf
  1. 11
      main/admin/course_edit.php

@ -260,7 +260,16 @@ $form->addRule('disk_quota', get_lang('ThisFieldShouldBeNumeric'), 'numeric');
// Extra fields
$extra_field = new ExtraField('course');
$extra = $extra_field->addElements($form, $courseId);
$extra = $extra_field->addElements(
$form,
$courseId,
[],
false,
false,
[],
[],
true
);
$htmlHeadXtra[] = '
<script>

Loading…
Cancel
Save