]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/editdiff.pm
po plugin: implemented po_link_to=negotiated
[git.ikiwiki.info.git] / IkiWiki / Plugin / editdiff.pm
index 2b1fac55d18122e7a7dd335845b10b880277ff90..f5d7837fc4c4712de2b693497ce3dd1b7a977b59 100644 (file)
@@ -56,7 +56,7 @@ sub formbuilder_setup { #{{{
        my %params=@_;
        my $form=$params{form};
 
        my %params=@_;
        my $form=$params{form};
 
-       return if defined ! $form->field("do") || $form->field("do") ne "edit";
+       return if ! defined $form->field("do") || $form->field("do") ne "edit";
 
        my $page=$form->field("page");
        $page = IkiWiki::possibly_foolish_untaint($page);
 
        my $page=$form->field("page");
        $page = IkiWiki::possibly_foolish_untaint($page);