fix error when displaying no text results

This commit is contained in:
davidovski 2023-08-19 19:51:34 +01:00
parent d556296c5a
commit 8e8c718237

View file

@ -169,6 +169,9 @@
function print_text_results($results)
{
if (empty($results))
return;
$special = $results[0];
if (array_key_exists("did_you_mean", $special))