diff --git a/mozilla/webtools/bugzilla/Bugzilla/User.pm b/mozilla/webtools/bugzilla/Bugzilla/User.pm index ec3129b320c..8c5ad3d54d5 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/User.pm +++ b/mozilla/webtools/bugzilla/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 {