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