diff options
author | Felix Bartels <felix@host-consultants.de> | 2015-06-26 16:57:07 +0200 |
---|---|---|
committer | Felix Bartels <felix@host-consultants.de> | 2015-06-26 16:57:07 +0200 |
commit | ddfc400465d7f3bef8fce83ccca755df58a79ea0 (patch) | |
tree | b2d2d9318cf4bbefc610b31b5c7c6c9ce21e889c /application | |
parent | 64bc92e3ac8f5e66d2bc14206ede31e6679d8c13 (diff) | |
download | Shaarli-ddfc400465d7f3bef8fce83ccca755df58a79ea0.tar.gz Shaarli-ddfc400465d7f3bef8fce83ccca755df58a79ea0.tar.zst Shaarli-ddfc400465d7f3bef8fce83ccca755df58a79ea0.zip |
Restore compatability with php 5.3
Diffstat (limited to 'application')
-rw-r--r-- | application/LinkDB.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 | |||
303 | // FIXME: accept double-quotes to search for a string "as is"? | 303 | // FIXME: accept double-quotes to search for a string "as is"? |
304 | $filtered = array(); | 304 | $filtered = array(); |
305 | $search = mb_convert_case($searchterms, MB_CASE_LOWER, 'UTF-8'); | 305 | $search = mb_convert_case($searchterms, MB_CASE_LOWER, 'UTF-8'); |
306 | $keys = ['title', 'description', 'url', 'tags']; | 306 | $keys = array('title', 'description', 'url', 'tags'); |
307 | 307 | ||
308 | foreach ($this->links as $link) { | 308 | foreach ($this->links as $link) { |
309 | $found = false; | 309 | $found = false; |