Closed Bug 254729 Opened 20 years ago Closed 20 years ago

editproducts generates warnings in error log

Categories

(Bugzilla :: Administration, task)

2.19
task
Not set
trivial

Tracking

()

RESOLVED FIXED
Bugzilla 2.20

People

(Reporter: bugreport, Assigned: bugzilla)

Details

Attachments

(1 file)

TestProduct returns an undef if a product is not already degfined. So, when you
create a new product///


    my $existing_product = TestProduct($product);

    # Check for exact case sensitive match:
    if ($existing_product eq $product) {

causes a warning...

editproducts.cgi: Use of uninitialized value in string eq at
/home/bugzilla/head/editproducts.cgi line 438
My fault, from bug#86051, I think
Assignee: justdave → bugzilla
Status: NEW → ASSIGNED
Attachment #155961 - Flags: review?
Target Milestone: --- → Bugzilla 2.20
Attachment #155961 - Flags: review? → review+
Flags: approval?
Flags: approval? → approval+
Checking in editproducts.cgi;
/cvsroot/mozilla/webtools/bugzilla/editproducts.cgi,v  <--  editproducts.cgi
new revision: 1.60; previous revision: 1.59
done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: