From 22c158949c13a2fa8597f97a3f5f8ff27dc2e4ea Mon Sep 17 00:00:00 2001 From: Daniel Thee Roperto Date: Wed, 19 Oct 2016 10:53:37 +1100 Subject: [PATCH] Issue #61 - Default value for CSS not saving. --- settings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/settings.php b/settings.php index b9872d5..96f9948 100644 --- a/settings.php +++ b/settings.php @@ -62,14 +62,14 @@ if ($hassiteconfig && is_enabled_auth('outage')) { get_string('defaultdescription', 'auth_outage'), get_string('defaultdescriptiondescription', 'auth_outage'), $defaults['default_description'], - PARAM_RAW_TRIMMED + PARAM_RAW )); $settings->add(new admin_setting_configtextarea( 'auth_outage/css', get_string('defaultlayoutcss', 'auth_outage'), get_string('defaultlayoutcssdescription', 'auth_outage'), $defaults['css'], - PARAM_RAW_TRIMMED + PARAM_RAW )); // Create category for Outage. $ADMIN->add('authsettings', new admin_category('auth_outage', get_string('pluginname', 'auth_outage')));