[fix] warning in search form when empty via field

This commit is contained in:
Knah Tsaeb 2014-01-03 09:39:02 +01:00
parent 4123658eae
commit f1a8ca9cc8

View file

@ -798,7 +798,7 @@ public function filterFulltext($searchterms)
|| (strpos(strtolower($l['description']),$s)!==false) || (strpos(strtolower($l['description']),$s)!==false)
|| (strpos(strtolower($l['url']),$s)!==false) || (strpos(strtolower($l['url']),$s)!==false)
|| (strpos(strtolower($l['tags']),$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; if ($found) $filtered[$l['linkdate']] = $l;
} }
krsort($filtered); krsort($filtered);