Fixing style errors.

This commit is contained in:
stickler-ci 2022-01-20 21:25:35 +00:00 committed by Laurent Destailleur
parent 93edbf1cda
commit bd6fdbd3be

View File

@ -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);