From 077c5b2f3ea4059101b5f1ba65cd7e7a3749f5b1 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sun, 20 Jan 2008 19:06:31 +0000 Subject: [PATCH] Fix: appel de fonction dans html.form.class --- htdocs/html.formfile.class.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/htdocs/html.formfile.class.php b/htdocs/html.formfile.class.php index ff05920ac36..35aeb214e9f 100644 --- a/htdocs/html.formfile.class.php +++ b/htdocs/html.formfile.class.php @@ -250,6 +250,8 @@ class FormFile } $headershown=1; + + $html = new Form($db); print '
'; print ''; @@ -260,13 +262,13 @@ class FormFile print ''; print ''.$langs->trans('Model').''; print ''; - $this->select_array('model',$modellist,$modelselected,0,0,1); + $html->select_array('model',$modellist,$modelselected,0,0,1); $texte=$langs->trans('Generate'); print ''; print ''; if($conf->global->MAIN_MULTILANGS && ! $forcenomultilang) { - $this->select_lang($langs->getDefaultLang()); + $html->select_lang($langs->getDefaultLang()); } else {