This commit is contained in:
Alexandre SPANGARO 2020-09-08 04:24:27 +02:00
parent 939933f4f7
commit a050ee8385

View File

@ -7538,11 +7538,11 @@ class Form
}
/**
* Return HTML to show the search and clear seach button
* Return HTML to show the search and clear search button
*
* @param string $cssclass CSS class
* @param int $calljsfunction 0=default. 1=call function initCheckForSelect() after changing status of checkboxes
* @param string $massactionname Mass action button name that will launch an action on the selected items
* @param string $massactionname Mass action button name that will launch an action on the selected items
* @return string
*/
public function showCheckAddButtons($cssclass = 'checkforaction', $calljsfunction = 0, $massactionname = "massaction")
@ -7610,7 +7610,7 @@ class Form
*/
public function selectExpenseCategories($selected = '', $htmlname = 'fk_c_exp_tax_cat', $useempty = 0, $excludeid = array(), $target = '', $default_selected = 0, $params = array())
{
global $db, $conf, $langs, $user;
global $db, $langs, $user;
$out = '';
$sql = 'SELECT rowid, label FROM '.MAIN_DB_PREFIX.'c_exp_tax_cat WHERE active = 1';
@ -7930,7 +7930,7 @@ class Form
*/
public function searchComponent($arrayofcriterias, $search_component_params, $arrayofinputfieldsalreadyoutput = array())
{
global $conf, $langs;
global $langs;
$ret = '';