mirror of https://github.com/MISP/MISP
fix: [galaxies] Fixed query causing MYSQL errors due to group by not containing a silently loaded field
parent
381a4b8895
commit
13c144b962
|
@ -100,7 +100,7 @@ class GalaxiesController extends AppController {
|
|||
public function selectGalaxyNamespace($target_id, $target_type='event') {
|
||||
$namespaces = $this->Galaxy->find('list', array(
|
||||
'recursive' => -1,
|
||||
'fields' => array('namespace'),
|
||||
'fields' => array('namespace', 'namespace'),
|
||||
'group' => array('namespace')
|
||||
));
|
||||
$this->set('namespaces', $namespaces);
|
||||
|
|
Loading…
Reference in New Issue