projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
069b10c
)
check that parent hash exists, to avoid creating it
author
Joey Hess
<joey@kodama.kitenet.net>
Sun, 15 Jun 2008 22:10:47 +0000
(18:10 -0400)
committer
Joey Hess
<joey@kodama.kitenet.net>
Sun, 15 Jun 2008 22:10:47 +0000
(18:10 -0400)
IkiWiki/Plugin/map.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/map.pm
b/IkiWiki/Plugin/map.pm
index f7ab291c7b1222b374c37b9629ff5229e2b81735..22f75b9e51081acdee3fc75fdd64136551a09041 100644
(file)
--- a/
IkiWiki/Plugin/map.pm
+++ b/
IkiWiki/Plugin/map.pm
@@
-26,6
+26,7
@@
sub preprocess (@) { #{{{
foreach my $page (keys %pagesources) {
if (pagespec_match($page, $params{pages}, location => $params{page})) {
if (exists $params{show} &&
+ exists $pagestate{$page} &&
exists $pagestate{$page}{meta}{$params{show}}) {
$mapitems{$page}=$pagestate{$page}{meta}{$params{show}};
}