}
}
- my $file=$pagesources{$p};
- my $type=pagetype($file);
if ($itemtemplate->query(name => "enclosure")) {
+ my $file=$pagesources{$p};
+ my $type=pagetype($file);
if (defined $type) {
$itemtemplate->param(content => $pcontent);
}
}
}
else {
- next unless defined $type;
$itemtemplate->param(content => $pcontent);
}