Fixed to match ChriS's API changes to mod_caml.
[cocanwiki.git] / scripts / edit.ml
index 893a17f..8b44823 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: edit.ml,v 1.25 2004/12/01 13:55:55 rich Exp $
+ * $Id: edit.ml,v 1.26 2005/03/31 14:24:04 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
@@ -407,7 +407,7 @@ let run r (q : cgi) (dbh : Dbi.connection) hostid {hostname = hostname} user =
                     template_email#set "opt_out" opt_out;
                     let body = template_email#to_string in
                     Sendmail.send_mail ~subject
-                      ~to_addr:[to_addr] ~body ())
+                      ~to_addr:[to_addr] body)
          addrs
       );