[Embed] Fix a query typo in fixup_files.php

Regression introduced in ec86de2bc4
This commit is contained in:
Alexei Sorokin 2020-08-13 22:51:22 +03:00 committed by Diogo Peralta Cordeiro
parent 668bdc7a6d
commit 1e36ceb5b1

View File

@ -121,7 +121,7 @@ while ($fn->fetch()) {
UPDATE file
SET mimetype = NULL, title = NULL, size = NULL,
protected = NULL, modified = CURRENT_TIMESTAMP
WHERE id = %d
WHERE id = %d;
END,
$f->getID()
));
@ -157,7 +157,7 @@ while ($fn->fetch()) {
UPDATE file
SET title = NULL, size = NULL,
protected = NULL, modified = CURRENT_TIMESTAMP
WHERE id = %d,
WHERE id = %d;
END,
$f->getID()
));