diff options
Diffstat (limited to 'app/controllers/quicksearch.php')
| -rw-r--r-- | app/controllers/quicksearch.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/quicksearch.php b/app/controllers/quicksearch.php index 194f317..9c6a4ae 100644 --- a/app/controllers/quicksearch.php +++ b/app/controllers/quicksearch.php @@ -94,7 +94,7 @@ class QuicksearchController extends AuthenticatedController if (!empty($result[3])) { $formatted['item_description'] = sprintf('%s (%s)', $result[2], $result[3]); } else { - $formatted['item_description'] = $result[2]; + $formatted['item_description'] = $result[2] ?? ''; } } else if ($this->search instanceof SearchType) { $formatted['item_name'] = $this->search->getAvatarImageTag($result[0], Avatar::SMALL, ['title' => '']) . $formatted['item_name']; |
