Changeset 23377

Show
Ignore:
Timestamp:
02.12.2010 14:17:08 (9 years ago)
Author:
ak19
Message:

Perl syntax error fixed: referring to uninitialised variable metadata should have been self->metadata.

Files:
1 modified

Legend:

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

    r23352 r23377  
    266266 
    267267    my $plugin_filename_encoding = $self->{'filename_encoding'}; 
    268     my $filename_encoding = $self->deduce_filename_encoding($file_only,$metadata,$plugin_filename_encoding); 
     268    my $filename_encoding = $self->deduce_filename_encoding($file_only,$self->{'metadata'},$plugin_filename_encoding); 
    269269 
    270270    $self->set_Source_metadata($doc_obj, $filename, $filename_encoding);