X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=scripts%2Frecently_visited.ml;h=2ef7904819dd2c22f5e359a67010bd4966e77f63;hb=6ad484dd47c27fd54c2f26fb931ba125bae9abc6;hp=6e689fca9aac02ebb40b6dc560d1f18e80613656;hpb=5b036c1119e5871a8996c98639cd861ea7d93e75;p=cocanwiki.git diff --git a/scripts/recently_visited.ml b/scripts/recently_visited.ml index 6e689fc..2ef7904 100644 --- a/scripts/recently_visited.ml +++ b/scripts/recently_visited.ml @@ -1,7 +1,7 @@ (* COCANWIKI - a wiki written in Objective CAML. * Written by Richard W.M. Jones . * Copyright (C) 2004 Merjis Ltd. - * $Id: recently_visited.ml,v 1.1 2004/10/10 16:14:43 rich Exp $ + * $Id: recently_visited.ml,v 1.2 2004/10/30 10:16:10 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 @@ -32,7 +32,7 @@ let run r (q : cgi) (dbh : Dbi.connection) hostid _ user = let userid = match user with - User (userid, _, _) -> userid + User (userid, _, _, _) -> userid | _ -> assert false in let sth = dbh#prepare_cached "select rv.url, p.title, rv.visit_time