]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 288857: Use of uninitialized value in bitwise and (&) at Bugzilla/User.pm line...
authorlpsolit%gmail.com <>
Mon, 11 Apr 2005 00:49:48 +0000 (00:49 +0000)
committerlpsolit%gmail.com <>
Mon, 11 Apr 2005 00:49:48 +0000 (00:49 +0000)
Bugzilla/User.pm

index ec3129b320ca1ce6930f02de9439e63b7ebb9488..8c5ad3d54d571b975405dec096a37590134a5c00 100644 (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 {