use pagespec_match_list for feedpages
This is both faster, and propigates any error in processing the feedpages pagespec out to display on the page. Which may have been why I didn't use it before, but currently seems like a good thing to do, since it explains why your feeds are empty..master
parent
46a6e27347
commit
8b99e68743
|
@ -254,7 +254,7 @@ sub preprocess_inline (@) {
|
|||
add_depends($params{page}, join(" or ", $#list >= $#feedlist ? @list : @feedlist));
|
||||
|
||||
if ($feeds && exists $params{feedpages}) {
|
||||
@feedlist=grep { pagespec_match($_, $params{feedpages}, location => $params{page}) } @feedlist;
|
||||
@feedlist=pagespec_match_list(\@feedlist, $params{feedpages}, location => $params{page});
|
||||
}
|
||||
|
||||
my ($feedbase, $feednum);
|
||||
|
|
Loading…
Reference in New Issue