Fix type error in OnDemand API endpoint (#4423)
This commit is contained in:
parent
3eabf80288
commit
e509cde831
|
@ -53,7 +53,7 @@ class ListAction
|
|||
|
||||
$params = $request->getQueryParams();
|
||||
|
||||
$searchPhrase = trim($params['searchPhrase']);
|
||||
$searchPhrase = trim($params['searchPhrase'] ?? '');
|
||||
if (!empty($searchPhrase)) {
|
||||
$searchFields = [
|
||||
'media_title',
|
||||
|
|
Loading…
Reference in New Issue