diff options
author | lpsolit%gmail.com <> | 2005-04-11 02:49:48 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-04-11 02:49:48 +0200 |
commit | d564d223b5b7ebac62c84f60ebb715dd82f5a152 (patch) | |
tree | a7ad0d66935b6dcb7546d998c01b271678094376 /Bugzilla | |
parent | 17ee4c966900b97920cee28762ac81ef2c17e3fe (diff) | |
download | bugzilla-d564d223b5b7ebac62c84f60ebb715dd82f5a152.tar.gz bugzilla-d564d223b5b7ebac62c84f60ebb715dd82f5a152.tar.xz |
Bug 288857: Use of uninitialized value in bitwise and (&) at Bugzilla/User.pm line 984 - Patch by Gervase Markham <gerv@mozilla.org> r=LpSolit a=myk
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/User.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/User.pm b/Bugzilla/User.pm index ec3129b32..8c5ad3d54 100644 --- a/Bugzilla/User.pm +++ b/Bugzilla/User.pm @@ -1030,8 +1030,8 @@ sub wants_mail { AND relationship = $relationship AND event IN (" . join(",", @$events) . ") LIMIT 1"); - - return($wants_mail); + + return defined($wants_mail) ? 1 : 0; } sub get_userlist { |