Skip to content

Commit

Permalink
MDL-76274 assignfeedback_editpdf: Fix upgrade step for stale conversions
Browse files Browse the repository at this point in the history
  • Loading branch information
cameron1729 committed Dec 6, 2022
1 parent bdba785 commit f4dba7a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -48,7 +48,7 @@ public function execute() {
FROM {files}
WHERE filearea = 'documentconversion'");

if ($earliestconversion) {
if (isset($earliestconversion->min)) {
['sql' => $extensionsql, 'params' => $extensionparams] = array_reduce(
['doc', 'docx', 'rtf', 'xls', 'xlsx', 'ppt', 'pptx', 'html', 'odt', 'ods', 'png', 'jpg', 'txt', 'gif'],
function(array $c, string $ext) use ($DB): array {
Expand Down

0 comments on commit f4dba7a

Please sign in to comment.