Ignore:
Timestamp:
2001-10-12T12:23:12+13:00 (23 years ago)
Author:
sjboddie
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugin.pm

    r2793 r2797  
    142142    print $statshandle "* " . $stats->{'num_processed'} . " were processed and included in the collection\n";
    143143    }
    144     if ($stats->{'num_not_processed'} == 1) {
    145     print $statshandle "* 1 was rejected.";
    146     } else {
    147     print $statshandle "* " . $stats->{'num_not_processed'} . " were rejected.";
    148     }
    149     print $statshandle " See the fail log for a list of rejected documents\n";
    150    
     144    if ($stats->{'num_not_processed'}) {
     145    if ($stats->{'num_not_processed'} == 1) {
     146        print $statshandle "* 1 was rejected.";
     147    } else {
     148        print $statshandle "* " . $stats->{'num_not_processed'} . " were rejected.";
     149    }
     150    print $statshandle " See the fail log for a list of rejected documents\n";
     151    }
    151152}
    152153
Note: See TracChangeset for help on using the changeset viewer.