diff options
author | Joey Hess <joey@kitenet.net> | 2010-04-20 13:43:21 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-04-20 13:43:21 -0400 |
commit | ca33969823342c3c61219a2cb167e40f765f934b (patch) | |
tree | fd209d2246a159e3d8848ed97cc4eb7be30bf613 /IkiWiki/Plugin | |
parent | a97964688b73d0a3237c798dce3fb064ff29ff11 (diff) | |
parent | d1a1f3ad21e9e58d1232fc3d997028a463ccad4a (diff) | |
download | ikiwiki-ca33969823342c3c61219a2cb167e40f765f934b.tar ikiwiki-ca33969823342c3c61219a2cb167e40f765f934b.tar.gz |
Merge branch 'master' into file_pruned_revamp
Diffstat (limited to 'IkiWiki/Plugin')
-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(); |