Update api_setup.class.php

This commit is contained in:
ptibogxiv
2020-01-30 13:52:13 +01:00
committed by GitHub
parent e31a93929a
commit 8f2c87b0d4

View File

@@ -911,7 +911,7 @@ class Setup extends DolibarrApi
* @throws 400 RestException
* @throws 200 OK
*/
public function getPaymentTerms($sortfield = "code", $sortorder = 'ASC', $limit = 100, $page = 0, $active = 1, $sqlfilters = '')
public function getPaymentTerms($sortfield = "sortorder", $sortorder = 'ASC', $limit = 100, $page = 0, $active = 1, $sqlfilters = '')
{
$list = array();