X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=application%2FLinkDB.php;h=1b505620959c3a6a06061dabd4ea6f982b39f3fd;hb=c51fae92dc7d3080def81a2797e0d683b3e6d82a;hp=9488ac4582532f770da99072c52f0f02b12bea0a;hpb=6c3d6a31f413862941fe514e7167c04fe71ba1a7;p=github%2Fshaarli%2FShaarli.git diff --git a/application/LinkDB.php b/application/LinkDB.php index 9488ac45..1b505620 100644 --- a/application/LinkDB.php +++ b/application/LinkDB.php @@ -353,8 +353,7 @@ You use the community supported version of the original Shaarli project, by Seba public function filter($type = '', $request = '', $casesensitive = false, $privateonly = false) { $linkFilter = new LinkFilter($this->_links); - $requestFilter = is_array($request) ? implode(' ', $request) : $request; - return $linkFilter->filter($type, trim($requestFilter), $casesensitive, $privateonly); + return $linkFilter->filter($type, $request, $casesensitive, $privateonly); } /**