Commit 66625366 authored by Nigel McNie's avatar Nigel McNie Committed by Penny Leach
Browse files

Corrected quoting for field names. Using the braces will cause the prefix to be added

parent 202f0ff4
......@@ -66,8 +66,7 @@ $extradata = get_records_sql_array("
FROM {view_access_usr}
WHERE view = ?
UNION
SELECT 'group', group, tutoronly, startdate, stopdate
FROM {view_access_group}
SELECT 'group', \"group\", tutoronly, startdate, stopdate FROM {view_access_group}
WHERE view = ?", array($viewid, $viewid));
if ($extradata) {
foreach ($extradata as &$extraitem) {
......
Supports Markdown
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