Skip to content
Browse files

fix for 4360

  • Loading branch information...
1 parent 32ddabc commit ff306b264565c8b44806eb6d9f62bce940c67db9 toyomoyo committed Feb 15, 2006
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/forum/lib.php
View
4 mod/forum/lib.php
@@ -1293,9 +1293,9 @@ function forum_get_discussions($forum="0", $forumsort="d.timemodified DESC",
} else {
return get_records_sql("SELECT $postdata, d.name, d.timemodified, d.usermodified, d.groupid,
u.firstname, u.lastname, u.email, u.picture $umfields
- FROM {$CFG->prefix}forum_discussions d,
+ FROM ( {$CFG->prefix}forum_discussions d,
{$CFG->prefix}forum_posts p,
- {$CFG->prefix}user u
+ {$CFG->prefix}user u )
$umtable
WHERE d.forum = '$forum'
AND p.discussion = d.id

0 comments on commit ff306b2

Please sign in to comment.
Something went wrong with that request. Please try again.