fix: [tags:attachTagToObject] Respect case when searching tags.

pull/6289/head
mokaddem 2020-10-06 14:12:11 +02:00
parent 3d54fb8077
commit 107cec82aa
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 1 deletions

View File

@ -924,7 +924,7 @@ class TagsController extends AppController
if (is_numeric($tag)) {
$conditions = array('Tag.id' => $tag);
} else {
$conditions = array('LOWER(Tag.name) LIKE' => trim($tag));
$conditions = array('Tag.name LIKE' => trim($tag));
}
if (empty($local)) {
if (!empty($this->request->data['local'])) {