fix breakage

master
joey 2007-02-21 09:04:59 +00:00
parent 36e0308cc6
commit 68784b593f
1 changed files with 3 additions and 3 deletions

View File

@ -125,12 +125,12 @@ sub cgi ($) { #{{{
IkiWiki::cgi_savesession($session);
$oldchoice=$session->param($choice_param);
if ($config{rcs}) {
disable_commit_hook();
IkiWiki::disable_commit_hook();
IkiWiki::rcs_commit($pagesources{$page}, "poll vote ($choice)",
IkiWiki::rcs_prepedit($pagesources{$page}),
$session->param("name"), $ENV{REMOTE_ADDR});
enable_commit_hook();
rcs_update();
IkiWiki::enable_commit_hook();
IkiWiki::rcs_update();
}
require IkiWiki::Render;
IkiWiki::refresh();