Correct return value
This commit is contained in:
parent
0d9c0b1215
commit
3cb2637f25
@ -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 New Issue
Block a user