MDL-77336 admin: fix typo in adminpreset data settings.

This commit is contained in:
Meirza
2023-03-06 16:32:25 +07:00
parent f49f934786
commit 35ea7d00c0
@@ -34,7 +34,7 @@ class adminpresets_admin_setting_configselect extends adminpresets_setting {
*/
protected function set_value($value) {
// When we intantiate the class we need the choices.
if (empty($this->settindata->choices) && method_exists($this->settingdata, 'load_choices')) {
if (empty($this->settingdata->choices) && method_exists($this->settingdata, 'load_choices')) {
$this->settingdata->load_choices();
}