X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=scripts%2Fupload_image_form.ml;fp=scripts%2Fupload_image_form.ml;h=1624171d862d3c91e383d9530b8fa9b35dc08c7c;hb=3bbcd6cd55f445a3b8b54269237655570c89354b;hp=52e1a205d292174b70dbe27118e80d90c3b28e20;hpb=0b231fd67e1baed0cb500c83a4e97cc84b25423d;p=cocanwiki.git diff --git a/scripts/upload_image_form.ml b/scripts/upload_image_form.ml index 52e1a20..1624171 100644 --- a/scripts/upload_image_form.ml +++ b/scripts/upload_image_form.ml @@ -1,7 +1,7 @@ (* COCANWIKI - a wiki written in Objective CAML. * Written by Richard W.M. Jones . * Copyright (C) 2004 Merjis Ltd. - * $Id: upload_image_form.ml,v 1.10 2006/03/28 16:24:08 rich Exp $ + * $Id: upload_image_form.ml,v 1.11 2006/12/06 09:46:57 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 @@ -28,7 +28,7 @@ open Cocanwiki open Cocanwiki_template let run r (q : cgi) dbh hostid _ _ = - let template = get_template dbh hostid "upload_image_form.html" in + let template = get_template r dbh hostid "upload_image_form.html" in (* If called with a 'name' argument, prefill the name field. * If called with an 'id' argument, get the name field from the