diff --git a/admin/presets/classes/local/setting/adminpresets_admin_setting_configselect.php b/admin/presets/classes/local/setting/adminpresets_admin_setting_configselect.php index 2d3396833ae..d8a9109fa60 100644 --- a/admin/presets/classes/local/setting/adminpresets_admin_setting_configselect.php +++ b/admin/presets/classes/local/setting/adminpresets_admin_setting_configselect.php @@ -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(); }