aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-07-27 19:21:56 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-07-27 19:21:56 -0400
commit73af360e994306c1d0b14a69a4aa04750e61f0ef (patch)
tree9d9681bb088de10c6e5778f9bcb788023fa09994 /IkiWiki/Plugin
parent25142cfa1d5b3603bd4ad22925a66ab6fe936acb (diff)
downloadikiwiki-73af360e994306c1d0b14a69a4aa04750e61f0ef.tar
ikiwiki-73af360e994306c1d0b14a69a4aa04750e61f0ef.tar.gz
fix cgiurl check
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/inline.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm
index cdd0ab0dc..ed7a58408 100644
--- a/IkiWiki/Plugin/inline.pm
+++ b/IkiWiki/Plugin/inline.pm
@@ -247,7 +247,7 @@ sub preprocess_inline (@) { #{{{
my $atomurl=basename(atompage($params{destpage}).$feednum) if $feeds && $atom;
my $ret="";
- if ($config{cgiurl} && ! $params{preview} && (exists $params{rootpage} ||
+ if (length $config{cgiurl} && ! $params{preview} && (exists $params{rootpage} ||
(exists $params{postform} && yesno($params{postform})))) {
# Add a blog post form, with feed buttons.
my $formtemplate=template("blogpost.tmpl", blind_cache => 1);