- Timestamp:
- 2015-04-02T13:22:05+13:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/classify/HFileHierarchy.pm
r28564 r29821 216 216 foreach my $OID (sort keys (%$list)) { 217 217 my $tempinfo = $self->get_OID_entry ($OID, $classifyinfo, "$classifier_num.$OID", $list->{$OID}->{'title'}, "VList"); 218 218 if (not defined ($tempinfo)) { 219 print STDERR "Error occurred for node $OID. Not creating the classifier \n"; 220 return undef; 221 } 219 222 if (defined $self->{'sort'}) { 220 223 if ($self->{'reverse_sort'}) { … … 262 265 return $classifyinfo; 263 266 } 264 267 if ($headOID eq "0") { 268 print STDERR "Error: Hierarchy numbering must not contain 0\n"; 269 return undef; 270 } 265 271 $classifyinfo->{'contains'} = [] unless defined $classifyinfo->{'contains'}; 266 272 if ($self->{'documents_last'}) {
Note:
See TracChangeset
for help on using the changeset viewer.