Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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 Wiese damyon authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  repository/manage_instances.php
2  repository/manage_instances.php
@@ -186,7 +186,7 @@
186 186 $settings = array();
187 187 $settings['name'] = $fromform->name;
188 188 foreach($configs as $config) {
189   - $settings[$config] = $fromform->$config;
  189 + $settings[$config] = isset($fromform->$config) ? $fromform->$config : null;
190 190 }
191 191 $success = $instance->set_option($settings);
192 192 } else {

0 comments on commit ec928e8

Please sign in to comment.
Something went wrong with that request. Please try again.