aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-04-20 13:43:21 -0400
committerJoey Hess <joey@kitenet.net>2010-04-20 13:43:21 -0400
commitca33969823342c3c61219a2cb167e40f765f934b (patch)
treefd209d2246a159e3d8848ed97cc4eb7be30bf613 /IkiWiki/Plugin
parenta97964688b73d0a3237c798dce3fb064ff29ff11 (diff)
parentd1a1f3ad21e9e58d1232fc3d997028a463ccad4a (diff)
downloadikiwiki-ca33969823342c3c61219a2cb167e40f765f934b.tar
ikiwiki-ca33969823342c3c61219a2cb167e40f765f934b.tar.gz
Merge branch 'master' into file_pruned_revamp
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/search.pm2
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();