Fix errors in all modules

This commit is contained in:
Art4 2024-11-18 22:20:28 +00:00
parent 6cb9676250
commit f254283dc6
9 changed files with 15 additions and 14 deletions

View file

@ -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());
}