projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fa115f
)
bugfix; support pagetype of "0"
author
Joey Hess
<joey@kodama.kitenet.net>
Tue, 1 Jul 2008 04:43:19 +0000
(
00:43
-0400)
committer
Joey Hess
<joey@kodama.kitenet.net>
Tue, 1 Jul 2008 04:43:19 +0000
(
00:43
-0400)
IkiWiki/Plugin/attachment.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/attachment.pm
b/IkiWiki/Plugin/attachment.pm
index 88b26e0415eff3a85f75875ba6fbc669f4ea6342..82fcdbb74fb95d76dd05946622f89aa4df151a57 100644
(file)
--- a/
IkiWiki/Plugin/attachment.pm
+++ b/
IkiWiki/Plugin/attachment.pm
@@
-152,7
+152,7
@@
sub match_minsize ($$;@) { #{{{
sub match_ispage ($$;@) { #{{{
my $filename=shift;
- if (IkiWiki::pagetype($filename)) {
+ if (
defined
IkiWiki::pagetype($filename)) {
return IkiWiki::SuccessReason->new("file is a wiki page");
}
else {