Skip to content

Commit

Permalink
Merge branch 's10_MDL-27341_flickr_plugin_20' of git://github.com/don…
Browse files Browse the repository at this point in the history
…gsheng/moodle into MOODLE_20_STABLE
  • Loading branch information
stronk7 committed Jun 23, 2011
2 parents 1bef145 + 454efc5 commit 7272427
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion repository/lib.php
Expand Up @@ -1381,7 +1381,11 @@ public static function create($type, $userid, $context, $params, $readonly=0) {
$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;
}
}
}

Expand Down

0 comments on commit 7272427

Please sign in to comment.