X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/903213e63fd6c409046f66e73881aba33c3926de..bc5b875de85419d38688b47e0d40ff808f0ebd86:/IkiWiki/Plugin/editdiff.pm diff --git a/IkiWiki/Plugin/editdiff.pm b/IkiWiki/Plugin/editdiff.pm index 2b1fac55d..f5d7837fc 100644 --- a/IkiWiki/Plugin/editdiff.pm +++ b/IkiWiki/Plugin/editdiff.pm @@ -56,7 +56,7 @@ sub formbuilder_setup { #{{{ 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);