spelling: omitted

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2023-03-22 00:07:52 -04:00
parent 6273f5e480
commit 9a2dd61300
2 changed files with 2 additions and 2 deletions

View file

@ -305,7 +305,7 @@ Returns [Private Messages](help/API-Entities#Private+message) matching the provi
#### Parameters
* `searchstring`: string for which the API call should search as '%searchstring%' in field 'body' of all messages of the authenticated user (caption ignored)
* `getText` (optional): `plain`|`html` If ommited, the title is prepended to the plaintext body in the `text` attribute of the private message objects.
* `getText` (optional): `plain`|`html` If omitted, the title is prepended to the plaintext body in the `text` attribute of the private message objects.
* `getUserObjects` (optional): `true`|`false` If `false`, the `sender` and `recipient` attributes of the private message object are absent.
#### Return values

View file

@ -216,7 +216,7 @@ class CurlResult implements ICanHandleHttpResponses
$parts = [];
}
/// @todo Checking the corresponding RFC which parts of a redirect can be ommitted.
/// @todo Checking the corresponding RFC which parts of a redirect can be omitted.
$components = ['scheme', 'host', 'path', 'query', 'fragment'];
foreach ($components as $component) {
if (empty($redirect_parts[$component]) && !empty($parts[$component])) {