From: lpsolit%gmail.com <> Date: Sun, 25 Mar 2007 16:21:12 +0000 (+0000) Subject: Bug 374051: Bugmail is no longer sent (regression) - Patch by Frédéric Buclin ... X-Git-Tag: bugzilla-3.1.2~262 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6fd079eafd176f357b109e32d2f1f7e99e70ef18;p=thirdparty%2Fbugzilla.git Bug 374051: Bugmail is no longer sent (regression) - Patch by Frédéric Buclin r/a=mkanat --- diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index 0927339a5a..6d0922abf7 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; }