Commit 1bf8f173 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 425647: get_activity() should use INNER JOIN to join the fielddefs table

r=dkl a=LpSolit
parent df8c194a
...@@ -3765,7 +3765,7 @@ sub get_activity { ...@@ -3765,7 +3765,7 @@ sub get_activity {
bugs_activity.comment_id bugs_activity.comment_id
FROM bugs_activity FROM bugs_activity
$suppjoins $suppjoins
LEFT JOIN fielddefs INNER JOIN fielddefs
ON bugs_activity.fieldid = fielddefs.id ON bugs_activity.fieldid = fielddefs.id
INNER JOIN profiles INNER JOIN profiles
ON profiles.userid = bugs_activity.who ON profiles.userid = bugs_activity.who
......
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