From 955d1807a63670ccf7f860399b78527cdbe24284 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@users.sourceforge.net> Date: Wed, 13 Jul 2011 14:03:15 +0000 Subject: [PATCH] Fix: Missing global --- htdocs/core/class/html.form.class.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 7e97abed808..5c7dbb3a456 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -31,7 +31,7 @@ * \file htdocs/core/class/html.form.class.php * \ingroup core * \brief File of class with all html predefined components - * \version $Id: html.form.class.php,v 1.188 2011/07/10 17:28:09 hregis Exp $ + * \version $Id: html.form.class.php,v 1.189 2011/07/13 14:03:15 eldy Exp $ */ @@ -1771,12 +1771,14 @@ class Form } /** - * \brief Retourne la liste deroulante des differents etats d'une propal. - * Les valeurs de la liste sont les id de la table c_propalst - * \param selected etat pre-selectionne + * Return combo list of differents status of a proposal + * Values are id of table c_propalst + * @param selected etat pre-selectionne */ function select_propal_statut($selected='') { + global $langs; + $sql = "SELECT id, code, label, active FROM ".MAIN_DB_PREFIX."c_propalst"; $sql .= " WHERE active = 1"; -- GitLab