mirror of
https://github.com/friendica/friendica
synced 2025-04-25 07:50:10 +00:00
Fix errors in all modules
This commit is contained in:
parent
6cb9676250
commit
f254283dc6
9 changed files with 15 additions and 14 deletions
|
@ -31,7 +31,7 @@ class Markers extends BaseApi
|
|||
}
|
||||
}
|
||||
|
||||
if (empty($timeline) || empty($last_read_id) || empty($application['id'])) {
|
||||
if ($timeline === '' || $last_read_id === '' || empty($application['id'])) {
|
||||
$this->logAndJsonError(422, $this->errorFactory->UnprocessableEntity());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue