fix feedpages dependency

This dependency was missing before switching to use_pagespec.
It is correct to add it, but it needs to be combined with the regular
"pages" dependency to ensure that it does not match extra pages.

(Also fixed its dependency type.)
master
Joey Hess 2009-10-08 20:54:06 -04:00
parent 37ec6a8243
commit 57d04ed892
1 changed files with 2 additions and 1 deletions

View File

@ -245,7 +245,8 @@ sub preprocess_inline (@) {
}
if ($feeds && exists $params{feedpages}) {
@feedlist = use_pagespec($params{page}, $params{feedpages},
@feedlist = use_pagespec($params{page}, "($params{pages}) and ($params{feedpages})",
deptype => deptype($quick ? "presence" : "content"),
list => \@feedlist);
}