mirror of
https://github.com/moodle/moodle.git
synced 2025-03-15 21:20:02 +01:00
if (!empty($data->pref_gradedisplaytype)) which returned false if the value was set to 0. I just changed !empty to isset and it fixed it.
if (!empty($data->pref_gradedisplaytype)) which returned false if the value was set to 0. I just changed !empty to isset and it fixed it.