Closed Bug 479780 Opened 15 years ago Closed 15 years ago

bugzilla scripts (whine.pl and collectstats.pl) are noisy because of a perl notice

Categories

(Bugzilla :: Bugzilla-General, defect)

3.2.2
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bugzilla, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2a1pre) Gecko/20090223 Minefield/3.2a1pre GTB5
Build Identifier: 3.2.2

Use of uninitialized value in string ne at Bugzilla/Util.pm line 290.

Reproducible: Always
Version: unspecified → 3.2.2
sub use_attachbase {
    my $attachbase = Bugzilla->params->{'attachment_base'};
    return ($attachbase ne ''
            && $attachbase ne Bugzilla->params->{'urlbase'}
            && $attachbase ne Bugzilla->params->{'sslbase'}) ? 1 : 0;
}

None of the parameters can be undefined. They are all created by checksetup.pl if they are missing (they are empty by default). So there must be something wrong with your installation. Try running checksetup.pl again, and make sure they are all defined in data/params.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.