Changeset 849


Ignore:
Timestamp:
2000-01-13T10:21:44+13:00 (24 years ago)
Author:
sjboddie
Message:

Fixed a bit of a bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/GMLPlug.pm

    r847 r849  
    162162####            print STDERR "*** tags = $tags\n";
    163163
    164             $tags =~ s/gsdlnum\s*=\s*\"?(\d+)\"?//o;
    165             if (defined $1)
     164            if ($tags =~ s/gsdlnum\s*=\s*\"?(\d+)\"?//o)
    166165            {
    167166            $section .= ".$1";
     
    179178               && ($tags =~ s/^\s*(\w+)\s*=\s*\"([^\"]*)\"//o))
    180179        {
    181             $doc_obj->add_utf8_metadata($section, $1 ,
     180            $doc_obj->add_utf8_metadata($section, $1,
    182181                        &GMLPlug::_unescape_text($2))
    183182            if (defined $1 and defined $2);
Note: See TracChangeset for help on using the changeset viewer.