Fix failed Github CI tests

This commit is contained in:
Qihui Chan committed 2022-12-20 22:12:05 +10:00
1 parent 9473db8c6e
commit 89e2621bf6
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -164,7 +164,7 @@ class edit extends moodleform {
// If the default_autostart is configured in config, then force autostart to be the default value.
if (array_key_exists('auth_outage', $CFG->forced_plugin_settings)
&& array_key_exists('default_autostart', $CFG->forced_plugin_settings['auth_outage'])){
&& array_key_exists('default_autostart', $CFG->forced_plugin_settings['auth_outage'])) {
$this->_form->setDefaults([
'autostart' => $CFG->forced_plugin_settings['auth_outage']['default_autostart']
]);