Changeset 3536


Ignore:
Timestamp:
2002-11-14T21:04:58+13:00 (21 years ago)
Author:
jrm21
Message:

set doc title to "" if it is undefined

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/classify/Phind.pm

    r3472 r3536  
    243243   
    244244    my $title = $doc_obj->get_metadata_element ($top_section, $titlefield);
     245    if (!defined($title)) {
     246    $title = "";
     247    print STDERR "Phind: document has no title\n";
     248    }
    245249    print "process: $title\n" if ($verbosity > 2);
    246250
Note: See TracChangeset for help on using the changeset viewer.