MDL-62291 tool_dataprivacy: Change DPO mapping setting to multi-checkbox
authorJun Pataleta <jun@moodle.com>
Thu, 3 May 2018 09:26:31 +0000 (17:26 +0800)
committerJun Pataleta <jun@moodle.com>
Thu, 3 May 2018 09:26:31 +0000 (17:26 +0800)
admin/tool/dataprivacy/settings.php

index 3f28b00..f04fc10 100644 (file)
@@ -49,7 +49,7 @@ if ($hassiteconfig) {
             }
         }
         if (!empty($roles)) {
-            $privacysettings->add(new admin_setting_configmultiselect('tool_dataprivacy/dporoles',
+            $privacysettings->add(new admin_setting_configmulticheckbox('tool_dataprivacy/dporoles',
                     new lang_string('dporolemapping', 'tool_dataprivacy'),
                     new lang_string('dporolemapping_desc', 'tool_dataprivacy'), null, $roles)
             );