Skip to content
Permalink
Browse files

Course config: Fix issue preventing tags and video_url to appear when…

… allow_teachers_to_classes is enabled
  • Loading branch information...
ywarnier committed Jul 26, 2018
1 parent 1b9dc84 commit 37b00ec534735632ea2cecdee858c84eef426b2e
Showing with 1 addition and 1 deletion.
  1. +1 −1 main/course_info/infocours.php
@@ -129,7 +129,7 @@ function is_settings_editable()
$extra_field = new ExtraField('course');
$extraFieldAdminPermissions = false;
$showOnlyTheseFields = [];
$showOnlyTheseFields = ['tags', 'video_url'];
if (api_get_configuration_value('allow_teachers_to_classes') === true) {
$extraFieldAdminPermissions = true;
$showOnlyTheseFields[] = 'course_hours_duration';

0 comments on commit 37b00ec

Please sign in to comment.
You can’t perform that action at this time.