Commit 7ca53aa7 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix sql error when deleting artefacts

Signed-off-by: default avatarRichard Mansfield <>
parent bbdc91b2
......@@ -596,7 +596,7 @@ abstract class ArtefactType {
// Detach any files from this artefact
delete_records_select('artefact_attachment', "artefact IN ($idstr)");
delete_records_select('artefact_attachment', "artefact IN $idstr");
// Delete any references to these artefacts from non-artefact places.
delete_records_select('artefact_parent_cache', "artefact IN $idstr");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment