mirror of https://github.com/MISP/MISP
fix: [server:edit] Extra field in group by leading to object duplication
parent
666ffcbe25
commit
f8d2782fb9
|
@ -643,7 +643,7 @@ class ServersController extends AppController
|
|||
$objects = $this->ObjectTemplate->find('all', [
|
||||
'recursive' => -1,
|
||||
'fields' => ['uuid', 'name'],
|
||||
'group' => ['uuid', 'name', 'id'],
|
||||
'group' => ['uuid', 'name'],
|
||||
]);
|
||||
$allTypes = [
|
||||
'attribute' => array_unique(Hash::extract(Hash::extract($this->Attribute->categoryDefinitions, '{s}.types'), '{n}.{n}')),
|
||||
|
|
Loading…
Reference in New Issue