mirror of https://github.com/MISP/MISP
chg: [Objects] Sorts object references types in add reference form (#3969)
parent
e0036625ac
commit
f82fbf165a
|
@ -162,6 +162,7 @@ class ObjectReferencesController extends AppController
|
|||
$relationships[$v['ObjectRelationship']['name']] = $v['ObjectRelationship']['name'];
|
||||
}
|
||||
$relationships['custom'] = 'custom';
|
||||
ksort($relationships);
|
||||
$this->set('relationships', $relationships);
|
||||
$this->set('event', $event);
|
||||
$this->set('objectId', $objectId);
|
||||
|
|
Loading…
Reference in New Issue