Skip to content

Commit

Permalink
Fix intended setting values are changed.
Browse files Browse the repository at this point in the history
  • Loading branch information
gjb2048 committed Mar 7, 2021
1 parent 8c2ff07 commit 53eca0f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions Changes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
Version Information
===================
Version 3.9.1.4 - 07/03/2021
----------------------------
1. Fix intended setting values are changed.

Version 3.9.1.3 - 04/03/2021
----------------------------
1. Improve colour picker to show the initial value in the current / preview colour boxes.
Expand Down
2 changes: 1 addition & 1 deletion lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@ private function generate_default_entry($settingname, $defaultindex, $values) {
$defaultvalue = get_config('format_topcoll', 'default'.$settingname);
$defarray = array($defaultindex => new lang_string('default', 'format_topcoll', $values[$defaultvalue]));

return array_merge($defarray, $values);
return array_replace($defarray, $values);
}

/**
Expand Down
4 changes: 2 additions & 2 deletions version.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
*/
defined('MOODLE_INTERNAL') || die();

$plugin->version = 2020071808;
$plugin->version = 2020071809;
$plugin->maturity = MATURITY_STABLE;
$plugin->requires = 2020061500.00; // 3.9 (Build: 20200615).
$plugin->component = 'format_topcoll';
$plugin->release = '3.9.1.3';
$plugin->release = '3.9.1.4';

0 comments on commit 53eca0f

Please sign in to comment.