Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'MDL-39640-23' of git://github.com/FMCorz/moodle into MO…

…ODLE_23_STABLE
  • Loading branch information...
commit ec928e8c142e411b5fbd0592f612276dc7d38581 2 parents be5a3e6 + 63e3141
@damyon damyon authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  repository/manage_instances.php
View
2  repository/manage_instances.php
@@ -186,7 +186,7 @@
$settings = array();
$settings['name'] = $fromform->name;
foreach($configs as $config) {
- $settings[$config] = $fromform->$config;
+ $settings[$config] = isset($fromform->$config) ? $fromform->$config : null;
}
$success = $instance->set_option($settings);
} else {
Please sign in to comment.
Something went wrong with that request. Please try again.