]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/editpage.pm
git: do not fail to commit if committer is anonymous
[git.ikiwiki.info.git] / IkiWiki / Plugin / editpage.pm
index d15607990db2412b8a14f281864f82f98b3cac7f..c7c29d45357a4d3c78692b7eda90109a07d2ecdc 100644 (file)
@@ -428,7 +428,7 @@ sub cgi_editpage ($$) {
                        $conflict=rcs_commit(
                                file => $file,
                                message => $message,
                        $conflict=rcs_commit(
                                file => $file,
                                message => $message,
-                               token => $form->field("rcsinfo"),
+                               token => scalar $form->field("rcsinfo"),
                                session => $session,
                        );
                        enable_commit_hook();
                                session => $session,
                        );
                        enable_commit_hook();