aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-03-25 16:21:12 +0000
committerlpsolit%gmail.com <>2007-03-25 16:21:12 +0000
commit6fd079eafd176f357b109e32d2f1f7e99e70ef18 (patch)
treefe13661f1007b936ba6e940b1f0e0a4b23ede9b7
parentb4151b52d4f0947dcfbeafa00630e8ab6725f58d (diff)
downloadbugs-6fd079eafd176f357b109e32d2f1f7e99e70ef18.tar
bugs-6fd079eafd176f357b109e32d2f1f7e99e70ef18.tar.gz
bugs-6fd079eafd176f357b109e32d2f1f7e99e70ef18.tar.bz2
bugs-6fd079eafd176f357b109e32d2f1f7e99e70ef18.tar.xz
bugs-6fd079eafd176f357b109e32d2f1f7e99e70ef18.zip
Bug 374051: Bugmail is no longer sent (regression) - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
-rw-r--r--Bugzilla/User.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm
index 0927339a5..6d0922abf 100644
--- a/Bugzilla/User.pm
+++ b/Bugzilla/User.pm
@@ -1459,7 +1459,7 @@ sub wants_mail {
AND relationship = ?
AND event IN (' . join(',', @$events) . ') ' .
$dbh->sql_limit(1),
- undef, ($self->{'id'}, $relationship));
+ undef, ($self->id, $relationship));
return defined($wants_mail) ? 1 : 0;
}