aboutsummaryrefslogtreecommitdiffhomepage
path: root/application
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2016-01-03 15:29:15 +0100
committerArthurHoaro <arthur@hoa.ro>2016-01-06 19:53:25 +0100
commit2c75f8e780e674ddb42c935b54ed6c39925ba07c (patch)
treeb2d3107ef336a89e372d66477f439e9b5b82efce /application
parent822bffced8212e7f34bcb2ad063b31a78bd57bdb (diff)
downloadShaarli-2c75f8e780e674ddb42c935b54ed6c39925ba07c.tar.gz
Shaarli-2c75f8e780e674ddb42c935b54ed6c39925ba07c.tar.zst
Shaarli-2c75f8e780e674ddb42c935b54ed6c39925ba07c.zip
Fixes #426 - Do not filter with blank tags.
Diffstat (limited to 'application')
-rw-r--r--application/LinkDB.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/LinkDB.php b/application/LinkDB.php
index be7d9016..16848519 100644
--- a/application/LinkDB.php
+++ b/application/LinkDB.php
@@ -351,7 +351,7 @@ You use the community supported version of the original Shaarli project, by Seba
351 */ 351 */
352 public function filter($type, $request, $casesensitive = false, $privateonly = false) { 352 public function filter($type, $request, $casesensitive = false, $privateonly = false) {
353 $requestFilter = is_array($request) ? implode(' ', $request) : $request; 353 $requestFilter = is_array($request) ? implode(' ', $request) : $request;
354 return $this->linkFilter->filter($type, $requestFilter, $casesensitive, $privateonly); 354 return $this->linkFilter->filter($type, trim($requestFilter), $casesensitive, $privateonly);
355 } 355 }
356 356
357 /** 357 /**