mirror of
https://github.com/moodle/moodle.git
synced 2025-04-08 09:52:42 +02:00
The unserialize() function will not always return an object especially when as can happen the controller field of a record in the backup_controllers table is empty. This change ensures that in this case the script will not cause a fatal error, but instead throw an error.