mirror of
https://github.com/moodle/moodle.git
synced 2025-02-24 03:53:49 +01:00
Having mixed $data in badge exporters is causing some issues. As all these exporters are using $data as an object, $data can be converted to object in the constructor, to avoid errors and get the expected behaviour always.