aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/LinkDB.php
diff options
context:
space:
mode:
authornodiscc <nodiscc@gmail.com>2015-06-26 21:49:18 +0200
committernodiscc <nodiscc@gmail.com>2015-06-26 21:49:18 +0200
commitd257f25c96f52f4b08215b55d7be4b0d98ab3250 (patch)
treeb2d2d9318cf4bbefc610b31b5c7c6c9ce21e889c /application/LinkDB.php
parent64bc92e3ac8f5e66d2bc14206ede31e6679d8c13 (diff)
parentddfc400465d7f3bef8fce83ccca755df58a79ea0 (diff)
downloadShaarli-d257f25c96f52f4b08215b55d7be4b0d98ab3250.tar.gz
Shaarli-d257f25c96f52f4b08215b55d7be4b0d98ab3250.tar.zst
Shaarli-d257f25c96f52f4b08215b55d7be4b0d98ab3250.zip
Merge pull request #249 from fbartels/patch-1
Restore compatibility with php 5.3
Diffstat (limited to 'application/LinkDB.php')
-rw-r--r--application/LinkDB.php2
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;