mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-25 18:23:21 +01:00
Minor fixes
This commit is contained in:
@@ -1394,6 +1394,11 @@ class Commande extends CommonOrder
|
||||
return -2;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
dol_syslog(get_class($this)."::addline status of order must be Draft to allow use of ->addline()", LOG_ERR);
|
||||
return -3;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user