Closed
Bug 361875
Opened 19 years ago
Closed 19 years ago
Use of uninitialized value in numeric eq (==) at Bugzilla/User.pm line 1465
Categories
(Bugzilla :: Email Notifications, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.0
People
(Reporter: LpSolit, Assigned: LpSolit)
References
Details
(Keywords: regression)
Attachments
(1 file)
|
973 bytes,
patch
|
bugzilla-mozilla
:
review+
|
Details | Diff | Splinter Review |
sub wants_mail {
# Skip DB query if relationship is explicit
return 1 if $relationship == REL_GLOBAL_WATCHER;
my $dbh = Bugzilla->dbh;
# If a relationship isn't given, default to REL_ANY.
if (!defined($relationship)) {
$relationship = REL_ANY;
}
We should first set $relationship to REL_ANY if it's undefined, then check if its value is REL_GLOBAL_WATCHER.
| Assignee | ||
Comment 1•19 years ago
|
||
Attachment #246612 -
Flags: review?(bugzilla-mozilla)
Updated•19 years ago
|
Attachment #246612 -
Flags: review?(bugzilla-mozilla) → review+
Updated•19 years ago
|
Status: NEW → ASSIGNED
Flags: approval?
Updated•19 years ago
|
Flags: approval? → approval+
| Assignee | ||
Comment 2•19 years ago
|
||
Checking in Bugzilla/User.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/User.pm,v <-- User.pm
new revision: 1.143; previous revision: 1.142
done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•