Labs
  1. Labs
  2. LABS-506

[PULSE] listex-report.pl uninitialised value $mods

    Details

      Description

      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.

        Activity

        Rodent of Unusual Size made changes -
        Field Original Value New Value
        Assignee Rodent of Unusual Size [ coar ]
        Sebb created issue -

          People

          • Assignee:
            Rodent of Unusual Size
            Reporter:
            Sebb
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development