mirror of
https://github.com/moodle/moodle.git
synced 2025-07-25 08:11:39 +02:00
When generating the PDF of unoconv_test.docx this file's previous conversions are removed from mdl_file_conversion. But these may also be removed by \core_files\task\conversion_cleanup_task in which case an error occurs as delete() is invoked with a NULL id. Added check for non-NULL id prior to invoking delete().