Commit 23acce17 authored by Clare Lenihan's avatar Clare Lenihan Committed by Clare Lenihan
Browse files

correct nesting of brackets

parent 2a393444
......@@ -202,7 +202,7 @@ function get_tutor_groups($userid=0, $jointype=null) {
$sql = 'SELECT DISTINCT g.*, gm.ctime
FROM {group} g
LEFT JOIN {group_member} gm ON gm.group = g.id
WHERE (g.owner = ? OR (gm.member = ? AND gm.tutor = ?) AND g.deleted = ?)';
WHERE (g.owner = ? OR (gm.member = ? AND gm.tutor = ?)) AND g.deleted = ?';
$values = array($userid, $userid, 1, 0);
if (!empty($jointype)) {
......
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