mirror of https://github.com/MISP/MISP
fix: [tags:attachTagsToObject] Respect case when attaching tags. Fix #6380
parent
28a05576a4
commit
ab9cf6d33e
|
@ -924,7 +924,7 @@ class TagsController extends AppController
|
|||
if (is_numeric($tag)) {
|
||||
$conditions = array('Tag.id' => $tag);
|
||||
} else {
|
||||
$conditions = array('LOWER(Tag.name) LIKE' => strtolower(trim($tag)));
|
||||
$conditions = array('LOWER(Tag.name) LIKE' => trim($tag));
|
||||
}
|
||||
if (empty($local)) {
|
||||
if (!empty($this->request->data['local'])) {
|
||||
|
|
Loading…
Reference in New Issue