fix defaults values

This commit is contained in:
Frédéric FRANCE 2023-12-16 10:12:35 +01:00 committed by GitHub
parent 2cb4dd29f8
commit 2e543ddf82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1426,7 +1426,7 @@ class FactureFournisseurRec extends CommonInvoice
* @param int $save_lastsearch_value -1=Auto, 0=No save of lastsearch_values when clicking, 1=Save lastsearch_values whenclicking
* @return string String with URL
*/
public function getNomUrl($withpicto = 0, $option = '', $max = 0, $short = 0, $moretitle = '', $notooltip = '', $save_lastsearch_value = -1)
public function getNomUrl($withpicto = 0, $option = '', $max = 0, $short = 0, $moretitle = '', $notooltip = 0, $save_lastsearch_value = -1)
{
global $langs, $hookmanager;
@ -2029,7 +2029,7 @@ class FactureFournisseurLigneRec extends CommonObjectLine
* @param int $notrigger Disable triggers
* @return int Return integer <0 if KO, >0 if OK
*/
public function delete(User $user, $notrigger = false)
public function delete(User $user, $notrigger = 0)
{
$error = 0;
$this->db->begin();