Commit 4f52fc18 authored by Nigel McNie's avatar Nigel McNie

Change a column alias to use the correct alias name that the table was given,...

Change a column alias to use the correct alias name that the table was given, to prevent a query failing. Fixes #1845.
parent 98099de3
......@@ -41,7 +41,7 @@ $filename = param_variable('filename');
// Group name, view title, feedback number?
$viewdata = get_record_sql('
SELECT
v.title, v.owner, c.name
v.title, v.owner, g.name
FROM {view} v
INNER JOIN {group} g ON v.submittedto = g.id
WHERE v.id = ' . $viewid, '');
......
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