X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/903213e63fd6c409046f66e73881aba33c3926de..b4ab0d0b9eae7b2204b8ea8e1ee70e63117b23ab:/IkiWiki/Plugin/editdiff.pm?ds=sidebyside

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);