diff --git a/app/controllers/quicksearch.php b/app/controllers/quicksearch.php
index 9e1f2f9f7000d126d97f61c4dcffa8762737432c..194f317480acc02241bdd5524de966b6c18d071a 100644
--- a/app/controllers/quicksearch.php
+++ b/app/controllers/quicksearch.php
@@ -91,7 +91,7 @@ class QuicksearchController extends AuthenticatedController
 
             if ($this->search instanceof StandardSearch && $this->search->extendedLayout) {
                 $formatted['item_name'] = $this->search->getAvatarImageTag($result[0], Avatar::MEDIUM, ['title' => '']) . $formatted['item_name'];
-                if($result[3]) {
+                if (!empty($result[3])) {
                     $formatted['item_description'] = sprintf('%s (%s)', $result[2], $result[3]);
                 } else {
                     $formatted['item_description'] = $result[2];