diff options
Diffstat (limited to 'Bugzilla/User.pm')
-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 { |