mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
e85c7179b2
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.