Skip to content

Commit

Permalink
Fix broken minisearch block response when no contacts have been found.
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Schneider <jan@horde.org>
Bug: 13044
  • Loading branch information
dulinux authored and yunosh committed Mar 17, 2014
1 parent 02d56b9 commit 0bda1e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion turba/lib/Ajax/Application/Handler/Minisearch.php
Expand Up @@ -75,7 +75,7 @@ public function minisearch()

if (count($results)) {
$ob->html = '<ul>' . implode('', $results) . '</ul>';
} elseif (is_null($search)) {
} elseif (!is_null($search)) {
$ob->html = _("No contacts found");
}

Expand Down

0 comments on commit 0bda1e1

Please sign in to comment.