aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-07-01 13:31:03 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-07-01 13:31:03 -0400
commitb4296a49438d5cdb3dd8cfd8bb4185c909b1328b (patch)
treed4b04256a09802118d6cc3684517316a01cf6f4c /IkiWiki
parentde6ed410bc8edfd558a62eac4536a716027da114 (diff)
downloadikiwiki-b4296a49438d5cdb3dd8cfd8bb4185c909b1328b.tar
ikiwiki-b4296a49438d5cdb3dd8cfd8bb4185c909b1328b.tar.gz
simplification
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/CGI.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm
index 0d010b115..2805534fc 100644
--- a/IkiWiki/CGI.pm
+++ b/IkiWiki/CGI.pm
@@ -305,7 +305,7 @@ sub cgi_editpage ($$) { #{{{
# This untaint is safe because titlepage removes any problematic
# characters.
- my ($page)=$form->field('page');
+ my $page=$form->field('page');
$page=titlepage(possibly_foolish_untaint($page));
if (! defined $page || ! length $page ||
file_pruned($page, $config{srcdir}) || $page=~/^\//) {