Fix: Missing global
This commit is contained in:
parent
9edb955801
commit
955d1807a6
@ -31,7 +31,7 @@
|
|||||||
* \file htdocs/core/class/html.form.class.php
|
* \file htdocs/core/class/html.form.class.php
|
||||||
* \ingroup core
|
* \ingroup core
|
||||||
* \brief File of class with all html predefined components
|
* \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.
|
* Return combo list of differents status of a proposal
|
||||||
* Les valeurs de la liste sont les id de la table c_propalst
|
* Values are id of table c_propalst
|
||||||
* \param selected etat pre-selectionne
|
* @param selected etat pre-selectionne
|
||||||
*/
|
*/
|
||||||
function select_propal_statut($selected='')
|
function select_propal_statut($selected='')
|
||||||
{
|
{
|
||||||
|
global $langs;
|
||||||
|
|
||||||
$sql = "SELECT id, code, label, active FROM ".MAIN_DB_PREFIX."c_propalst";
|
$sql = "SELECT id, code, label, active FROM ".MAIN_DB_PREFIX."c_propalst";
|
||||||
$sql .= " WHERE active = 1";
|
$sql .= " WHERE active = 1";
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user