diff options
-rw-r--r-- | lib/Misc/CacheManager.php | 2 |
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()."/%"); |