diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-12-23 06:48:56 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2006-12-23 06:48:56 +0000 |
commit | 201d11da0aad98ee497aa9866782547795d3369f (patch) | |
tree | bb2a47ba883e5ffa9f85367f81a15294bb164176 /IkiWiki.pm | |
parent | a0261089081ec71beea4cc5eb3eb4f243649520b (diff) | |
download | ikiwiki-201d11da0aad98ee497aa9866782547795d3369f.tar ikiwiki-201d11da0aad98ee497aa9866782547795d3369f.tar.gz |
the problem with coding while drunk -- idiotic mistakes
Diffstat (limited to 'IkiWiki.pm')
-rw-r--r-- | IkiWiki.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki.pm b/IkiWiki.pm index b8f3e7a55..18f9ab3fe 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -413,7 +413,7 @@ sub htmllink ($$$;$$$) { #{{{ $bestlink=htmlpage($bestlink); } if (! grep { $_ eq $bestlink } map { @{$_} } values %renderedfiles) { - return $linktext unless $config{cgi}; + return $linktext unless length $config{cgiurl}; return "<span><a href=\"". cgiurl(do => "create", page => lc($link), from => $page). "\">?</a>$linktext</span>" |