[PULSE] listex-report.pl uninitialised value $mods
--------------------------------------------------
Key: LABS-506
URL: https://issues.apache.org/jira/browse/LABS-506
Project: Labs
Issue Type: Bug
Environment:
http://svn.apache.org/repos/asf/labs/pulse/email-query/listex-report.pl
Reporter: Sebb
Queries can generate the following errors:
Use of uninitialized value $mods in substitution (s///) at
/usr/local/labs/pulse/email-query/listex-report.pl line 360, <STDIN> line 36.
Use of uninitialized value $mods in concatenation (.) or string at
/usr/local/labs/pulse/email-query/listex-report.pl line 361, <STDIN> line 36.
The error means the lists without moderators are not reported.
Line 359:
my $mods = $listinfo->{moderators};
could be changed to:
my $mods = $listinfo->{moderators} || '';
which should prevent the errors.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]