Changeset 37148


Ignore:
Timestamp:
2023-01-17T11:48:36+13:00 (10 days ago)
Author:
davidb
Message:

Had not been careful enough with my refactoring of the code that creates a new doc_obj. For the XML case it needs to also set $self->{'doc_obj'}.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/perllib/plugins/PagedImagePlugin.pm

    r37051 r37148  
    576576
    577577    # create a new document
    578     my $doc_obj = $self->init_new_doc_item($self->{'filename'}, $self->{'processor'}, $self->{'metadata'});
     578    $self->{'doc_obj'} = $self->init_new_doc_item($self->{'filename'}, $self->{'processor'}, $self->{'metadata'});
    579579   
    580580    my ($dir, $file) = $self->{'filename'} =~ /^(.*?)([^\/\\]*)$/;
Note: See TracChangeset for help on using the changeset viewer.