Commented a bug.
[cocanwiki.git] / scripts / history.ml
index 556a6ad..a08707d 100644 (file)
@@ -1,7 +1,7 @@
 (* COCANWIKI - a wiki written in Objective CAML.
  * Written by Richard W.M. Jones <rich@merjis.com>.
  * Copyright (C) 2004 Merjis Ltd.
- * $Id: history.ml,v 1.8 2004/09/21 13:01:16 rich Exp $
+ * $Id: history.ml,v 1.9 2004/11/01 17:46:21 rich Exp $
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -33,6 +33,7 @@ let run r (q : cgi) (dbh : Dbi.connection) hostid _ _ =
 
   let page = q#param "page" in
   let page = if page = "" then "index" else page in
+  template#set "page" page;
 
   let sth =
     dbh#prepare_cached