]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - application/LinkDB.php
Merge remote-tracking branch 'virtualtam/linkdb/remove-globals'
[github/shaarli/Shaarli.git] / application / LinkDB.php
index 7e29ee8eefaf8e65d44eae2e741ed343f04b2874..ff82446f0d7a892c63d04d5231cdf0e74b12ccce 100644 (file)
@@ -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;