mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Qual: Spelling for htdocs/[a-b]* (#27422)
Mostly comments, one variable changed from misspelling to . Also changed CNAT to C.N.A.T in comment to avoid fix from CNAT to CAN'T. Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
@@ -49,7 +49,7 @@ class Subscriptions extends DolibarrApi
|
||||
/**
|
||||
* Get properties of a subscription object
|
||||
*
|
||||
* Return an array with subscription informations
|
||||
* Return an array with subscription information
|
||||
*
|
||||
* @param int $id ID of subscription
|
||||
* @return Object Object with cleaned properties
|
||||
@@ -81,7 +81,7 @@ class Subscriptions extends DolibarrApi
|
||||
* @param int $limit Limit for list
|
||||
* @param int $page Page number
|
||||
* @param string $sqlfilters Other criteria to filter answers separated by a comma. Syntax example "(t.ref:like:'SO-%') and (t.import_key:<:'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 subscription objects
|
||||
*
|
||||
* @throws RestException
|
||||
@@ -154,7 +154,7 @@ class Subscriptions extends DolibarrApi
|
||||
$subscription = new Subscription($this->db);
|
||||
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
|
||||
$subscription->context['caller'] = $request_data['caller'];
|
||||
continue;
|
||||
}
|
||||
@@ -191,7 +191,7 @@ class Subscriptions 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
|
||||
$subscription->context['caller'] = $request_data['caller'];
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user