From b90843c82124e452554f85efd969c6fac410e666 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Massart?= Date: Tue, 4 Oct 2016 10:21:01 +0200 Subject: [PATCH] MDL-56168 theme_boost: Cannot use a null value for colour pickers --- theme/boost/settings.php | 4 ++-- version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/theme/boost/settings.php b/theme/boost/settings.php index 737fcce2809..0a9e59f1f11 100644 --- a/theme/boost/settings.php +++ b/theme/boost/settings.php @@ -43,11 +43,11 @@ if ($ADMIN->fulltree) { $page->add($setting); // Variable $body-color. - // We do not set a default value because the default colour should come from the preset. + // We use an empty default value because the default colour should come from the preset. $name = 'theme_boost/brandcolor'; $title = get_string('brandcolor', 'theme_boost'); $description = get_string('brandcolor_desc', 'theme_boost'); - $setting = new admin_setting_configcolourpicker($name, $title, $description, null, null, false); + $setting = new admin_setting_configcolourpicker($name, $title, $description, ''); $setting->set_updatedcallback('theme_reset_all_caches'); $page->add($setting); diff --git a/version.php b/version.php index 80dbac3aa54..780637fa7a6 100644 --- a/version.php +++ b/version.php @@ -29,7 +29,7 @@ defined('MOODLE_INTERNAL') || die(); -$version = 2016100400.00; // YYYYMMDD = weekly release date of this DEV branch. +$version = 2016100400.01; // YYYYMMDD = weekly release date of this DEV branch. // RR = release increments - 00 in DEV branches. // .XX = incremental changes.