Commit 9434f0dc authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix missing db prefix

Signed-off-by: default avatarRichard Mansfield <>
parent 20938093
......@@ -163,7 +163,7 @@ class PluginBlocktypeGallery extends PluginBlocktype {
$user = $values['user'];
$userimages = get_records_sql_array("
SELECT im.artefact
FROM artefact a, artefact_file_image im
FROM {artefact} a, {artefact_file_image} im
WHERE = im.artefact
AND a.owner = ?;",
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