Merge branch 'MDL-56057_master' of git://github.com/dmonllao/moodle
[moodle.git] / lib / adminlib.php
index 6a75337..68e1b48 100644 (file)
@@ -9081,6 +9081,7 @@ class admin_setting_configcolourpicker extends admin_setting {
         $context = (object) [
             'id' => $this->get_id(),
             'name' => $this->get_full_name(),
+            'value' => $data,
             'icon' => $icon->export_for_template($OUTPUT),
             'haspreviewconfig' => !empty($this->previewconfig),
             'forceltr' => $this->get_force_ltr()