diff --git a/backup/moodle2/backup_opencast_block_task.class.php b/backup/moodle2/backup_opencast_block_task.class.php index e7a5c320..06bcd65b 100644 --- a/backup/moodle2/backup_opencast_block_task.class.php +++ b/backup/moodle2/backup_opencast_block_task.class.php @@ -130,7 +130,7 @@ protected function define_my_settings() { $stringobj = new \stdClass(); $stringobj->title = $videotobackup->title; $stringobj->identifier = '***' . substr($videotobackup->identifier, -6); - $videolist []= "- " . get_string('importvideos_wizard_event_cb_title', 'block_opencast', $stringobj); + $videolist[] = "- " . get_string('importvideos_wizard_event_cb_title', 'block_opencast', $stringobj); } // The label does not support any html, so we need to use the text for line breaks. $seriessetting->get_ui()->set_text(join('
', $videolist)); @@ -158,8 +158,7 @@ protected function define_my_settings() { get_string('importvideos_wizard_event_cb_title', 'block_opencast', $stringobj) ); $this->add_setting($episodesetting); - $this->get_setting($seriessettingname) - ->add_dependency($episodesetting, setting_dependency::DISABLED_NOT_CHECKED); + $this->get_setting($seriessettingname)->add_dependency($episodesetting, setting_dependency::DISABLED_NOT_CHECKED); } } }