diff options
author | Joey Hess <joey@kitenet.net> | 2010-04-20 00:07:41 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-04-20 00:07:41 -0400 |
commit | 1239fa55d5d5b9ca81dbde0874f4ff8d1980429d (patch) | |
tree | c18b3985d4e242395808d1ba8b3dd0f19e16b65c /IkiWiki | |
parent | 563428ebd2a75cfabccf1974da0c1cbbe07eb369 (diff) |
no need to return content from postscan hook
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/search.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/search.pm b/IkiWiki/Plugin/search.pm index c0e8703d8..a1e7026ca 100644 --- a/IkiWiki/Plugin/search.pm +++ b/IkiWiki/Plugin/search.pm @@ -70,7 +70,7 @@ sub index (@) { # A unique pageterm is used to identify the document for a page. my $pageterm=pageterm($params{page}); - return $params{content} unless defined $pageterm; + return unless defined $pageterm; my $db=xapiandb(); my $doc=Search::Xapian::Document->new(); |