Restore compatability with php 5.3

This commit is contained in:
Felix Bartels 2015-06-26 16:57:07 +02:00
parent 64bc92e3ac
commit ddfc400465
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ class LinkDB implements Iterator, Countable, ArrayAccess
// FIXME: accept double-quotes to search for a string "as is"?
$filtered = array();
$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) {
$found = false;