fix defaults values
This commit is contained in:
parent
2cb4dd29f8
commit
2e543ddf82
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue