mirror of https://github.com/MISP/MISP
fix: [tags:attachTagToObject] Respect case when searching tags.
parent
3d54fb8077
commit
107cec82aa
|
@ -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'])) {
|
||||
|
|
Loading…
Reference in New Issue