summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2007-03-25 18:21:12 +0200
committerlpsolit%gmail.com <>2007-03-25 18:21:12 +0200
commit6fd079eafd176f357b109e32d2f1f7e99e70ef18 (patch)
treefe13661f1007b936ba6e940b1f0e0a4b23ede9b7 /Bugzilla
parentb4151b52d4f0947dcfbeafa00630e8ab6725f58d (diff)
downloadbugzilla-6fd079eafd176f357b109e32d2f1f7e99e70ef18.tar.gz
bugzilla-6fd079eafd176f357b109e32d2f1f7e99e70ef18.tar.xz
Bug 374051: Bugmail is no longer sent (regression) - Patch by Frédéric Buclin <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'Bugzilla')
-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;
}