From ddfc400465d7f3bef8fce83ccca755df58a79ea0 Mon Sep 17 00:00:00 2001 From: Felix Bartels Date: Fri, 26 Jun 2015 16:57:07 +0200 Subject: Restore compatability with php 5.3 --- application/LinkDB.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3