summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IkiWiki/CGI.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/IkiWiki/CGI.pm b/IkiWiki/CGI.pm
index 45a72bfcb..560377f0e 100644
--- a/IkiWiki/CGI.pm
+++ b/IkiWiki/CGI.pm
@@ -28,6 +28,8 @@ sub page_locked ($$;$) { #{{{
sub cgi_recentchanges ($) { #{{{
my $q=shift;
+ unlockwiki();
+
my $template=HTML::Template->new(
filename => "$config{templatedir}/recentchanges.tmpl"
);