mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Qual: Spelling htdocs/[q-z]* (#27447)
# Qual: Fix spelling htdocs/[q-z]* Probably fixes a bug: - htdocs/webservices/server_thirdparty.php No other occurence of adress found. -'adress'=>->adress,- +'address'=>->address,+
This commit is contained in:
@@ -66,7 +66,7 @@ class Users extends DolibarrApi
|
||||
* @param string $user_ids User ids filter field. Example: '1' or '1,2,3' {@pattern /^[0-9,]*$/i}
|
||||
* @param int $category Use this param to filter list by category
|
||||
* @param string $sqlfilters Other criteria to filter answers separated by a comma. Syntax example "(t.ref:like:'SO-%') and (t.date_creation:<:'20160101')"
|
||||
* @param string $properties Restrict the data returned to theses properties. Ignored if empty. Comma separated list of properties names
|
||||
* @param string $properties Restrict the data returned to these properties. Ignored if empty. Comma separated list of properties names
|
||||
* @return array Array of User objects
|
||||
*/
|
||||
public function index($sortfield = "t.rowid", $sortorder = 'ASC', $limit = 100, $page = 0, $user_ids = '0', $category = 0, $sqlfilters = '', $properties = '')
|
||||
@@ -325,7 +325,7 @@ class Users extends DolibarrApi
|
||||
throw new RestException(401, 'The property '.$field." can't be set/modified using the APIs");
|
||||
}
|
||||
if ($field === 'caller') {
|
||||
// Add a mention of caller so on trigger called after action, we can filter to avoid a loop if we try to sync back again whith the caller
|
||||
// Add a mention of caller so on trigger called after action, we can filter to avoid a loop if we try to sync back again with the caller
|
||||
$this->useraccount->context['caller'] = $request_data['caller'];
|
||||
continue;
|
||||
}
|
||||
@@ -391,7 +391,7 @@ class Users extends DolibarrApi
|
||||
}
|
||||
}
|
||||
if ($field === 'caller') {
|
||||
// Add a mention of caller so on trigger called after action, we can filter to avoid a loop if we try to sync back again whith the caller
|
||||
// Add a mention of caller so on trigger called after action, we can filter to avoid a loop if we try to sync back again with the caller
|
||||
$this->useraccount->context['caller'] = $request_data['caller'];
|
||||
continue;
|
||||
}
|
||||
@@ -526,7 +526,7 @@ class Users extends DolibarrApi
|
||||
* @param int $page Page number
|
||||
* @param string $group_ids Groups ids filter field. Example: '1' or '1,2,3' {@pattern /^[0-9,]*$/i}
|
||||
* @param string $sqlfilters Other criteria to filter answers separated by a comma. Syntax example "(t.ref:like:'SO-%') and (t.date_creation:<:'20160101')"
|
||||
* @param string $properties Restrict the data returned to theses properties. Ignored if empty. Comma separated list of properties names
|
||||
* @param string $properties Restrict the data returned to these properties. Ignored if empty. Comma separated list of properties names
|
||||
* @return array Array of User objects
|
||||
*
|
||||
* @throws RestException 404 User not found
|
||||
@@ -595,7 +595,7 @@ class Users extends DolibarrApi
|
||||
/**
|
||||
* Get properties of an group object
|
||||
*
|
||||
* Return an array with group informations
|
||||
* Return an array with group information
|
||||
*
|
||||
* @url GET /groups/{group}
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user