Commit 99a24b1a authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Fix bug 424

parent a7c062f8
......@@ -104,7 +104,8 @@ if (!$tutorcommunitydata = @get_records_sql_array('SELECT c.id, c.name
INNER JOIN ' . $prefix . 'community c ON u.community = c.id
INNER JOIN ' . $prefix . 'community_member t ON t.community = c.id
WHERE u.member = ' . $userid . '
AND t.tutor = 1;', '')) {
AND t.tutor = 1
AND t.member != ' . $userid . ';', '')) {
$tutorcommunitydata = array();
}
......
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