Correct return value
This commit is contained in:
parent
0d9c0b1215
commit
3cb2637f25
1 changed files with 2 additions and 2 deletions
|
|
@ -229,7 +229,7 @@ class ProductFournisseur extends Product
|
|||
else
|
||||
{
|
||||
$this->db->rollback();
|
||||
return 1;
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
@ -312,7 +312,7 @@ class ProductFournisseur extends Product
|
|||
else
|
||||
{
|
||||
$this->db->rollback();
|
||||
return 1;
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue