Permalink
Browse files

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

…ODLE_23_STABLE
  • Loading branch information...
2 parents be5a3e6 + 63e3141 commit ec928e8c142e411b5fbd0592f612276dc7d38581 @damyon damyon committed May 27, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 {

0 comments on commit ec928e8

Please sign in to comment.