diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-09-27 13:34:46 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-09-27 13:34:46 -0400 |
commit | 316ef6571b94995d8eef0956b1f55b591db869d3 (patch) | |
tree | 10c3a8557672bb12c2ce282430df8414794c7b60 /IkiWiki/Plugin/attachment.pm | |
parent | 3b39e936991f18df1c9fa812365acb55ce725b08 (diff) | |
download | ikiwiki-316ef6571b94995d8eef0956b1f55b591db869d3.tar ikiwiki-316ef6571b94995d8eef0956b1f55b591db869d3.tar.gz |
pagetype is exported
Diffstat (limited to 'IkiWiki/Plugin/attachment.pm')
-rw-r--r-- | IkiWiki/Plugin/attachment.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/attachment.pm b/IkiWiki/Plugin/attachment.pm index f1a9b1939..6214df7f3 100644 --- a/IkiWiki/Plugin/attachment.pm +++ b/IkiWiki/Plugin/attachment.pm @@ -271,7 +271,7 @@ sub attachment_list ($) { #{{{ my @ret; foreach my $f (values %pagesources) { - if (! defined IkiWiki::pagetype($f) && + if (! defined pagetype($f) && $f=~m/^\Q$loc\E[^\/]+$/ && -e "$config{srcdir}/$f") { push @ret, { |