projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
563428e
)
no need to return content from postscan hook
author
Joey Hess
<joey@kitenet.net>
Tue, 20 Apr 2010 04:07:41 +0000
(
00:07
-0400)
committer
Joey Hess
<joey@kitenet.net>
Tue, 20 Apr 2010 04:07:41 +0000
(
00:07
-0400)
IkiWiki/Plugin/search.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/search.pm
b/IkiWiki/Plugin/search.pm
index c0e8703d8ba8fcd9ef5cd21fa5ec3db5219b2e78..a1e7026caf0e11d783c65d90ea6e233123122bbb 100644
(file)
--- 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();