mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 00:04:27 +02: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