diff --git a/htdocs/core/class/html.formprojet.class.php b/htdocs/core/class/html.formprojet.class.php index d51516359ad..4e6b7407dca 100644 --- a/htdocs/core/class/html.formprojet.class.php +++ b/htdocs/core/class/html.formprojet.class.php @@ -521,7 +521,7 @@ class FormProjets * @param int $useshortlabel Use short label * @return int|string The HTML select list of element or '' if nothing or -1 if KO */ - function selectOpportunityStatus($htmlname,$preselected=0,$showempty=1,$useshortlabel=0) + function selectOpportunityStatus($htmlname,$preselected=0,$showempty=1,$useshortlabel=0,$showallnone=0) { global $conf, $langs; @@ -530,8 +530,6 @@ class FormProjets $sql.= " WHERE active = 1"; $sql.= " ORDER BY position"; - dol_syslog(get_class($this).'::selectOpportunityStatus', LOG_DEBUG); - $resql=$this->db->query($sql); if ($resql) { @@ -541,6 +539,8 @@ class FormProjets { $sellist = '