2
0
forked from Wavyzz/dolibarr

fix phpstan (#28589)

* fix phpstan

* Update functions.lib.php
This commit is contained in:
Frédéric FRANCE
2024-03-03 17:00:06 +01:00
committed by GitHub
parent 9c3a375839
commit 3663b9b305
2 changed files with 4 additions and 4 deletions

View File

@@ -5104,7 +5104,7 @@ function img_delete($titlealt = 'default', $other = 'class="pictodelete"', $more
$titlealt = $langs->trans('Delete');
}
return img_picto($titlealt, 'delete.png', $other, false, 0, 0, '', $morecss);
return img_picto($titlealt, 'delete.png', $other, 0, 0, 0, '', $morecss);
}
/**
@@ -5425,7 +5425,7 @@ function img_search($titlealt = 'default', $other = '')
$titlealt = $langs->trans('Search');
}
$img = img_picto($titlealt, 'search.png', $other, false, 1);
$img = img_picto($titlealt, 'search.png', $other, 0, 1);
$input = '<input type="image" class="liste_titre" name="button_search" src="'.$img.'" ';
$input .= 'value="'.dol_escape_htmltag($titlealt).'" title="'.dol_escape_htmltag($titlealt).'" >';
@@ -5448,7 +5448,7 @@ function img_searchclear($titlealt = 'default', $other = '')
$titlealt = $langs->trans('Search');
}
$img = img_picto($titlealt, 'searchclear.png', $other, false, 1);
$img = img_picto($titlealt, 'searchclear.png', $other, 0, 1);
$input = '<input type="image" class="liste_titre" name="button_removefilter" src="'.$img.'" ';
$input .= 'value="'.dol_escape_htmltag($titlealt).'" title="'.dol_escape_htmltag($titlealt).'" >';