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 {
$datasql = 'SELECT,g.jointype,,g.owner,count(distinct as requestcount, COUNT(distinct v.view) AS hasviews
FROM {group} g
LEFT JOIN {group_member_request} gmr ON =
LEFT JOIN {view_access_group} v ON =
WHERE c.owner = ?
GROUP BY,c.jointype,,c.owner';
LEFT JOIN {view_access_group} v ON =
WHERE g.owner = ?
GROUP BY,g.jointype,,g.owner';
$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