Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
23acce17
Commit
23acce17
authored
Jan 15, 2008
by
Clare Lenihan
Committed by
Clare Lenihan
Jan 15, 2008
Browse files
correct nesting of brackets
parent
2a393444
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/group.php
View file @
23acce17
...
...
@@ -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
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment