mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
025bc8d0b1
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.