Commit d564d223 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 288857: Use of uninitialized value in bitwise and (&) at Bugzilla/User.pm…

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
parent 17ee4c96
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment