Merge pull request #249 from fbartels/patch-1
Restore compatibility with php 5.3
This commit is contained in:
commit
d257f25c96
1 changed files with 1 additions and 1 deletions
|
@ -303,7 +303,7 @@ public function filterFulltext($searchterms)
|
||||||
// FIXME: accept double-quotes to search for a string "as is"?
|
// FIXME: accept double-quotes to search for a string "as is"?
|
||||||
$filtered = array();
|
$filtered = array();
|
||||||
$search = mb_convert_case($searchterms, MB_CASE_LOWER, 'UTF-8');
|
$search = mb_convert_case($searchterms, MB_CASE_LOWER, 'UTF-8');
|
||||||
$keys = ['title', 'description', 'url', 'tags'];
|
$keys = array('title', 'description', 'url', 'tags');
|
||||||
|
|
||||||
foreach ($this->links as $link) {
|
foreach ($this->links as $link) {
|
||||||
$found = false;
|
$found = false;
|
||||||
|
|
Loading…
Reference in a new issue