From 2fa8474b35b2e6356b6fda0591c5726eb188904e Mon Sep 17 00:00:00 2001 From: ScottVerbeek Date: Thu, 11 Jan 2024 09:17:19 +1000 Subject: [PATCH] issue #169: Add default settings for cleaner_custom_sql_pre and _post --- cleaner/custom_sql_post/settings.php | 2 +- cleaner/custom_sql_pre/settings.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cleaner/custom_sql_post/settings.php b/cleaner/custom_sql_post/settings.php index e6a5bac..04971ad 100644 --- a/cleaner/custom_sql_post/settings.php +++ b/cleaner/custom_sql_post/settings.php @@ -29,4 +29,4 @@ $settings->add(new admin_setting_configtextarea('cleaner_custom_sql_post/sql', new lang_string('sql', 'cleaner_custom_sql_post'), - new lang_string('sqldesc', 'cleaner_custom_sql_post'), null, PARAM_RAW)); + new lang_string('sqldesc', 'cleaner_custom_sql_post'), '', PARAM_RAW)); diff --git a/cleaner/custom_sql_pre/settings.php b/cleaner/custom_sql_pre/settings.php index da20139..26aa1ae 100644 --- a/cleaner/custom_sql_pre/settings.php +++ b/cleaner/custom_sql_pre/settings.php @@ -29,4 +29,4 @@ $settings->add(new admin_setting_configtextarea('cleaner_custom_sql_pre/sql', new lang_string('sql', 'cleaner_custom_sql_pre'), - new lang_string('sqldesc', 'cleaner_custom_sql_pre'), null, PARAM_RAW)); + new lang_string('sqldesc', 'cleaner_custom_sql_pre'), '', PARAM_RAW));