]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/editpage.pm
update
[git.ikiwiki.info.git] / IkiWiki / Plugin / editpage.pm
index a8e75121fd672d6ee19557305433c95360582f19..1a04a72b5568f2980d8a7e00d0eaaa06a62e0e0d 100644 (file)
@@ -401,10 +401,12 @@ sub cgi_editpage ($$) {
                        # signaling to it that it should not try to
                        # do anything.
                        disable_commit_hook();
-                       $conflict=rcs_commit($file, $message,
-                               $form->field("rcsinfo"),
-                               $session->param("name"),
-                               $session->remote_addr());
+                       $conflict=rcs_commit(
+                               file => $file,
+                               message => $message,
+                               token => $form->field("rcsinfo"),
+                               session => $session,
+                       );
                        enable_commit_hook();
                        rcs_update();
                }