summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/attachment.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-09-27 13:34:46 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-09-27 13:34:46 -0400
commit316ef6571b94995d8eef0956b1f55b591db869d3 (patch)
tree10c3a8557672bb12c2ce282430df8414794c7b60 /IkiWiki/Plugin/attachment.pm
parent3b39e936991f18df1c9fa812365acb55ce725b08 (diff)
pagetype is exported
Diffstat (limited to 'IkiWiki/Plugin/attachment.pm')
-rw-r--r--IkiWiki/Plugin/attachment.pm2
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, {