[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
parent ac6510d481
commit 8745a3e824

View File

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