]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
typo
authorJoey Hess <joey@kitenet.net>
Tue, 20 Apr 2010 18:25:17 +0000 (14:25 -0400)
committerJoey Hess <joey@kitenet.net>
Tue, 20 Apr 2010 18:25:17 +0000 (14:25 -0400)
IkiWiki/Plugin/editpage.pm

index 2130a84024b6223cfacc352e2008639b0bf2d5f4..26e38abc121ea06b53a250e5061a1227ac76099c 100644 (file)
@@ -92,7 +92,7 @@ sub cgi_editpage ($$) {
        # wiki_file_regexp.
        my ($page)=$form->field('page')=~/$config{wiki_file_regexp}/;
        $page=possibly_foolish_untaint($page);
-       my $absolute=($page =~ s#^/+##); # absolute name used for force location
+       my $absolute=($page =~ s#^/+##); # absolute name used to force location
        if (! defined $page || ! length $page ||
            file_pruned($page)) {
                error(gettext("bad page name"));