[Embed] Fix a query typo in fixup_files.php
Regression introduced in ec86de2bc4
This commit is contained in:
parent
ac6510d481
commit
8745a3e824
@ -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()
|
||||||
));
|
));
|
||||||
|
Loading…
Reference in New Issue
Block a user