]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
Restore compatability with php 5.3 249/head
authorFelix Bartels <felix@host-consultants.de>
Fri, 26 Jun 2015 14:57:07 +0000 (16:57 +0200)
committerFelix Bartels <felix@host-consultants.de>
Fri, 26 Jun 2015 14:57:07 +0000 (16:57 +0200)
application/LinkDB.php

index 2b3fb60bb47be7fe9bd09728044315e55289186a..cf91ad481ddb84db88da8ed312b3c9ba0a7b3858 100644 (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;