--- trunk2/lib/WebPAC/Index.pm 2004/09/05 21:40:57 410 +++ trunk2/lib/WebPAC/Index.pm 2004/09/05 22:22:37 411 @@ -65,10 +65,10 @@ my $data = {@_}; - confess("need path and headline!") unless (defined($data->{'path'}) && defined($data->{'headline'})); - my $log = $self->_get_logger(); + $log->logconfess("need path and headline!") unless (defined($data->{'path'}) && defined($data->{'headline'})); + push @{$self->{'index'}}, $data; $log->debug("stored path: ",$data->{'path'}," headline: ",$data->{'headline'});