From: Frédéric Buclin Date: Tue, 27 Mar 2012 22:27:41 +0000 (+0200) Subject: Bug 425647: get_activity() should use INNER JOIN to join the fielddefs table X-Git-Tag: bugzilla-4.3.1~42 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1bf8f17334f366cb01d608c7ae6852202b8fe657;p=thirdparty%2Fbugzilla.git Bug 425647: get_activity() should use INNER JOIN to join the fielddefs table r=dkl a=LpSolit --- diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 151e4ae9b0..90211efcf8 100644 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -3765,7 +3765,7 @@ sub get_activity { bugs_activity.comment_id FROM bugs_activity $suppjoins - LEFT JOIN fielddefs + INNER JOIN fielddefs ON bugs_activity.fieldid = fielddefs.id INNER JOIN profiles ON profiles.userid = bugs_activity.who