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

git-svn-id: svn://10.0.0.236/trunk@171930 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
lpsolit%gmail.com
2005-04-10 17:49:48 +00:00
parent 4aa56f2336
commit e3f63d06a7

View File

@@ -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 {