Merge branch 's10_MDL-27341_flickr_plugin_20' of git://github.com/dongsheng/moodle into MOODLE_20_STABLE
This commit is contained in:
+5
-1
@@ -1381,7 +1381,11 @@ abstract class repository {
|
||||
$configs = call_user_func($classname . '::get_instance_option_names');
|
||||
if (!empty($configs)) {
|
||||
foreach ($configs as $config) {
|
||||
$options[$config] = $params[$config];
|
||||
if (isset($params[$config])) {
|
||||
$options[$config] = $params[$config];
|
||||
} else {
|
||||
$options[$config] = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user