Analytic accountancy : fix bug

This commit is contained in:
Dany De Bontridder 2018-11-27 17:38:58 +01:00
parent 48cad5f885
commit d166d35e85

View file

@ -29,10 +29,21 @@
require_once NOALYSS_INCLUDE.'/lib/html_input.class.php';
class ISelect extends HtmlInput
{
/**
* Constructor , $p_value is supposed to be an array
* @param string $p_name name of the element
* @param array $p_value
* @param DOMID $p_id
*/
function __construct($p_name="", $p_value="", $p_id="")
{
parent::__construct($p_name, $p_value, $p_id);
$this->value=[];
if ( $p_value =="" )
{
$this->value=[];
} else {
$this->value=$p_value;
}
}
/*!\brief show the html input of the widget*/
public function input($p_name=null,$p_value=null)