powered_by table is fixed.
[cocanwiki.git] / scripts / rename_page.ml
index b7ad181..d27e951 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: rename_page.ml,v 1.8 2006/08/04 12:45:31 rich Exp $
+ * $Id: rename_page.ml,v 1.9 2006/08/14 11:36:50 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
@@ -81,6 +81,7 @@ let run r (q : cgi) dbh hostid {hostname = hostname} user =
     let new_model = { new_model with
                        description = old_model.description;
                        keywords = old_model.keywords;
+                       noodp = old_model.noodp;
                        contents_ = old_model.contents_ } in
     let old_model = { old_model with redirect = Some new_page } in
     ignore (save_page r dbh hostid ~user old_model);