From f80b1b070b310580fe8cd2501da87ae626322189 Mon Sep 17 00:00:00 2001 From: Amaia Anabitarte Date: Mon, 12 Jun 2023 16:36:28 +0200 Subject: [PATCH] MDL-78310 mod_resource: Change 'Show type' setting default value Changing 'Show type' admin setting default value to 'Yes' --- mod/resource/settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/resource/settings.php b/mod/resource/settings.php index 0d6c8c84051..9b26691048e 100644 --- a/mod/resource/settings.php +++ b/mod/resource/settings.php @@ -61,7 +61,7 @@ if ($ADMIN->fulltree) { $settings->add(new admin_setting_configcheckbox('resource/showsize', get_string('showsize', 'resource'), get_string('showsize_desc', 'resource'), 0)); $settings->add(new admin_setting_configcheckbox('resource/showtype', - get_string('showtype', 'resource'), get_string('showtype_desc', 'resource'), 0)); + get_string('showtype', 'resource'), get_string('showtype_desc', 'resource'), 1)); $settings->add(new admin_setting_configcheckbox('resource/showdate', get_string('showdate', 'resource'), get_string('showdate_desc', 'resource'), 0)); $settings->add(new admin_setting_configtext('resource/popupwidth',