Skip to content
Snippets Groups Projects
Commit 955d1807 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Missing global

parent 9edb9558
No related branches found
No related tags found
No related merge requests found
......@@ -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";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment