From: Felix Bartels Date: Fri, 26 Jun 2015 14:57:07 +0000 (+0200) Subject: Restore compatability with php 5.3 X-Git-Tag: v0.5.0~24^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=ddfc400465d7f3bef8fce83ccca755df58a79ea0;hp=64bc92e3ac8f5e66d2bc14206ede31e6679d8c13;p=github%2Fshaarli%2FShaarli.git Restore compatability with php 5.3 --- diff --git a/application/LinkDB.php b/application/LinkDB.php index 2b3fb60b..cf91ad48 100644 --- a/application/LinkDB.php +++ b/application/LinkDB.php @@ -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;