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

Fix missing db prefix


Signed-off-by: default avatarRichard Mansfield <richard.mansfield@catalyst.net.nz>
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 a.id = im.artefact
AND a.owner = ?;",
array($user));
......
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