Skip to content

Commit

Permalink
Merge branch 'MDL-39640-master-int' of git://github.com/FMCorz/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
Damyon Wiese committed May 27, 2013
2 parents 30a8263 + 0f38761 commit d059d80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repository/manage_instances.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,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 {
Expand Down

0 comments on commit d059d80

Please sign in to comment.