X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=scripts%2Fhistory.ml;h=a08707da74857dd3c8d3217f6d0b6a5113ea0c59;hb=65966a769fea12308cf5a1bccee53d80483ee444;hp=556a6ada9ef901e265d3c232aabec73946aedb6a;hpb=867889b6d04b6381c74974e338672ee02d61920e;p=cocanwiki.git diff --git a/scripts/history.ml b/scripts/history.ml index 556a6ad..a08707d 100644 --- a/scripts/history.ml +++ b/scripts/history.ml @@ -1,7 +1,7 @@ (* COCANWIKI - a wiki written in Objective CAML. * Written by Richard W.M. Jones . * 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