mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-13 19:25:22 +01:00
Correct return value
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user