Changeset 5225 for trunk/gsdl/perllib


Ignore:
Timestamp:
2003-08-20T15:54:46+12:00 (21 years ago)
Author:
sjboddie
Message:

Fixed a couple of bugs in recent changes for building/displaying
collections that have no searchable indexes.

File:
1 edited

Legend:

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

    r4743 r5225  
    9191    $self->{'collect_cfg'} = &colcfg::read_collect_cfg ($colcfgname);
    9292
     93    if (!defined($self->{'collect_cfg'}->{'indexes'})) {
     94    $self->{'collect_cfg'}->{'indexes'} = [];
     95    }
     96
    9397    # sort out subcollection indexes
    9498    if (defined $self->{'collect_cfg'}->{'indexsubcollections'}) {
Note: See TracChangeset for help on using the changeset viewer.