Change subject line so it shows the name of the site.
[cocanwiki.git] / scripts / invite_user_confirm.ml
index 9db853a..89fb904 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: invite_user_confirm.ml,v 1.6 2006/03/28 13:20:00 rich Exp $
+ * $Id: invite_user_confirm.ml,v 1.7 2006/03/28 16:24:07 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
@@ -42,8 +42,8 @@ let run r (q : cgi) dbh hostid { hostname = hostname } _ =
 
   let email, userid =
     match rows with
-    | [ Some email; userid ] -> Some email, userid
-    | [ None; userid ] -> None, userid
+    | [ Some email, userid ] -> Some email, userid
+    | [ None, userid ] -> None, userid
     | [] ->
        error ~title:"Already signed up"
           dbh hostid q "It looks like you have already used your invitation.";