Fixing style errors.
This commit is contained in:
parent
93edbf1cda
commit
bd6fdbd3be
@ -438,7 +438,7 @@ class SupplierOrders extends DolibarrApi
|
|||||||
* "comment": ""
|
* "comment": ""
|
||||||
* }
|
* }
|
||||||
*/
|
*/
|
||||||
public function makeOrder($id, $date, $method, $comment='')
|
public function makeOrder($id, $date, $method, $comment = '')
|
||||||
{
|
{
|
||||||
if (empty(DolibarrApiAccess::$user->rights->fournisseur->commande->creer) && empty(DolibarrApiAccess::$user->rights->supplier_order->creer)) {
|
if (empty(DolibarrApiAccess::$user->rights->fournisseur->commande->creer) && empty(DolibarrApiAccess::$user->rights->supplier_order->creer)) {
|
||||||
throw new RestException(401);
|
throw new RestException(401);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user