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

Fixed incorrect table alias caused by the communities -> groups rename

parent 33f9a86a
...@@ -54,9 +54,9 @@ else { ...@@ -54,9 +54,9 @@ else {
$datasql = 'SELECT g.id,g.jointype,g.name,g.owner,count(distinct gmr.group) as requestcount, COUNT(distinct v.view) AS hasviews $datasql = 'SELECT g.id,g.jointype,g.name,g.owner,count(distinct gmr.group) as requestcount, COUNT(distinct v.view) AS hasviews
FROM {group} g FROM {group} g
LEFT JOIN {group_member_request} gmr ON gmr.group = g.id LEFT JOIN {group_member_request} gmr ON gmr.group = g.id
LEFT JOIN {view_access_group} v ON v.group = c.id LEFT JOIN {view_access_group} v ON v.group = g.id
WHERE c.owner = ? WHERE g.owner = ?
GROUP BY c.id,c.jointype,c.name,c.owner'; GROUP BY g.id,g.jointype,g.name,g.owner';
$data = get_records_sql_array($datasql,array($userid), $offset, $limit); $data = get_records_sql_array($datasql,array($userid), $offset, $limit);
} }
......
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