Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CarnetApp/CarnetNextcloud.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Misc/CacheManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Misc/CacheManager.php b/lib/Misc/CacheManager.php
index e3535f8..d18caa9 100644
--- a/lib/Misc/CacheManager.php
+++ b/lib/Misc/CacheManager.php
@@ -129,7 +129,7 @@ class CacheManager{
public function search($query){
$arrayFullPath = array();
$sql = 'SELECT * FROM `*PREFIX*carnet_metadata` ' .
- 'WHERE path LIKE ? AND CONVERT(metadata USING utf8) LIKE _utf8 ? COLLATE utf8_general_ci';
+ 'WHERE path LIKE ? AND metadata LIKE ? ';
$args = array();
array_push($args, $this->carnetFolder->getPath()."/%");