[fix] warning in search form when empty via field
This commit is contained in:
parent
4123658eae
commit
f1a8ca9cc8
1 changed files with 5 additions and 5 deletions
|
@ -798,7 +798,7 @@ public function filterFulltext($searchterms)
|
|||
|| (strpos(strtolower($l['description']),$s)!==false)
|
||||
|| (strpos(strtolower($l['url']),$s)!==false)
|
||||
|| (strpos(strtolower($l['tags']),$s)!==false)
|
||||
|| (strpos(strtolower($l['via']),$s)!==false);
|
||||
|| (!empty($l['via']) && (strpos(strtolower($l['via']),$s)!==false));
|
||||
if ($found) $filtered[$l['linkdate']] = $l;
|
||||
}
|
||||
krsort($filtered);
|
||||
|
|
Loading…
Reference in a new issue