projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
915d5bc
)
fix logic
author
Joey Hess
<joey@kitenet.net>
Fri, 23 Apr 2010 18:00:53 +0000
(14:00 -0400)
committer
Joey Hess
<joey@kitenet.net>
Fri, 23 Apr 2010 18:00:53 +0000
(14:00 -0400)
IkiWiki/Plugin/inline.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/inline.pm
b/IkiWiki/Plugin/inline.pm
index 0436497420489a93964cdfc47d31abc34a17b9e2..2d47cb4befdfd8532904552dab2622c704c08c2e 100644
(file)
--- a/
IkiWiki/Plugin/inline.pm
+++ b/
IkiWiki/Plugin/inline.pm
@@
-333,8
+333,8
@@
sub preprocess_inline (@) {
$template=template_depends($params{template}.".tmpl", $params{page},
blind_cache => 1);
};
- if (
!
$@ || ! $template) {
- error sprintf(gettext("nonexistant template %s"), $params{template});
+ if ($@ || ! $template) {
+ error sprintf(gettext("nonexistant template %s
.tmpl
"), $params{template});
}
}
my $needcontent=$raw || (!($archive && $quick) && $template->query(name => 'content'));