fix error when displaying no text results
This commit is contained in:
parent
d556296c5a
commit
8e8c718237
1 changed files with 3 additions and 0 deletions
|
@ -169,6 +169,9 @@
|
|||
function print_text_results($results)
|
||||
{
|
||||
|
||||
if (empty($results))
|
||||
return;
|
||||
|
||||
$special = $results[0];
|
||||
|
||||
if (array_key_exists("did_you_mean", $special))
|
||||
|
|
Loading…
Reference in a new issue