summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-04-11 02:49:48 +0200
committerlpsolit%gmail.com <>2005-04-11 02:49:48 +0200
commitd564d223b5b7ebac62c84f60ebb715dd82f5a152 (patch)
treea7ad0d66935b6dcb7546d998c01b271678094376 /Bugzilla
parent17ee4c966900b97920cee28762ac81ef2c17e3fe (diff)
downloadbugzilla-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.pm4
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 {