forked from Wavyzz/dolibarr
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:
@@ -55,7 +55,7 @@ class Receptions extends DolibarrApi
|
||||
/**
|
||||
* Get properties of a reception object
|
||||
*
|
||||
* Return an array with reception informations
|
||||
* Return an array with reception information
|
||||
*
|
||||
* @param int $id ID of reception
|
||||
* @return Object Object with cleaned properties
|
||||
@@ -93,7 +93,7 @@ class Receptions extends DolibarrApi
|
||||
* @param int $page Page number
|
||||
* @param string $thirdparty_ids Thirdparty ids to filter receptions of (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 reception objects
|
||||
*
|
||||
* @throws RestException
|
||||
@@ -187,7 +187,7 @@ class Receptions extends DolibarrApi
|
||||
|
||||
foreach ($request_data as $field => $value) {
|
||||
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->reception->context['caller'] = $request_data['caller'];
|
||||
continue;
|
||||
}
|
||||
@@ -442,7 +442,7 @@ class Receptions extends DolibarrApi
|
||||
continue;
|
||||
}
|
||||
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->reception->context['caller'] = $request_data['caller'];
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user