mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-23 09:13:16 +01:00
Fix maxi debug of APIs (clean output fields)
This commit is contained in:
@@ -2074,7 +2074,6 @@ class Commande extends CommonOrder
|
||||
*/
|
||||
function deleteline($user=null, $lineid=0)
|
||||
{
|
||||
|
||||
if ($this->statut == self::STATUS_DRAFT)
|
||||
{
|
||||
$this->db->begin();
|
||||
@@ -2137,7 +2136,8 @@ class Commande extends CommonOrder
|
||||
}
|
||||
else
|
||||
{
|
||||
return -1;
|
||||
$this->error='ErrorDeleteLineNotAllowedByObjectStatus';
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user