summaryrefslogtreecommitdiffstats
path: root/extensions/RequestNagger
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-11-01 08:47:36 +0100
committerByron Jones <bjones@mozilla.com>2013-11-01 08:47:36 +0100
commitf86e175304e135e0b9fecfec8ff2fa373a316dcf (patch)
tree0e0e278fd830d20acd636f7765debef70756e4ac /extensions/RequestNagger
parente5d385374cb02e7d6b1b2013144135264ec5d29a (diff)
downloadbugzilla-f86e175304e135e0b9fecfec8ff2fa373a316dcf.tar.gz
bugzilla-f86e175304e135e0b9fecfec8ff2fa373a316dcf.tar.xz
Bug 933307: request nagging isn't sending emails to requestees
Diffstat (limited to 'extensions/RequestNagger')
-rw-r--r--extensions/RequestNagger/lib/Constants.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/RequestNagger/lib/Constants.pm b/extensions/RequestNagger/lib/Constants.pm
index ff31b94e0..8f0f638c2 100644
--- a/extensions/RequestNagger/lib/Constants.pm
+++ b/extensions/RequestNagger/lib/Constants.pm
@@ -54,6 +54,7 @@ sub REQUESTEE_NAG_SQL {
INNER JOIN products ON products.id = bugs.product_id
LEFT JOIN attachments ON attachments.attach_id = flags.attach_id
LEFT JOIN profile_setting ON profile_setting.setting_name = 'request_nagging'
+ AND profile_setting.user_id = flags.requestee_id
LEFT JOIN nag_defer ON nag_defer.flag_id = flags.id
WHERE
" . $dbh->sql_in('flagtypes.name', \@flag_types_sql) . "