X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=application%2FLinkDB.php;h=ff82446f0d7a892c63d04d5231cdf0e74b12ccce;hb=2fbadc3c631e0c7e32b9b956fb5551822729bc33;hp=7e29ee8eefaf8e65d44eae2e741ed343f04b2874;hpb=9c8752a2061e67c719125edb6e0d6717d1af8553;p=github%2Fshaarli%2FShaarli.git diff --git a/application/LinkDB.php b/application/LinkDB.php index 7e29ee8e..ff82446f 100644 --- a/application/LinkDB.php +++ b/application/LinkDB.php @@ -310,7 +310,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;