Changeset 5790


Ignore:
Timestamp:
2003-11-06T15:47:31+13:00 (20 years ago)
Author:
jrm21
Message:

added Don Gourley's bug patch from AZList to here as well

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/classify/AZCompactList.pm

    r5729 r5790  
    832832    # add final OIDs to last sub-classification if there aren't many otherwise
    833833    # add final sub-classification
     834
     835    # don't add if there aren't any oids
     836    if (! scalar (@currentOIDs)) {return $compactedhash;}
     837
    834838    if (scalar (@currentOIDs) < $min) {
    835839    my ($newkey) = $lastkey =~ /^(.)/;
Note: See TracChangeset for help on using the changeset viewer.