mirror of https://github.com/MISP/MISP
Merge branch 'hotfix-2.2.37' into develop
commit
d5ac3dea49
|
@ -406,6 +406,7 @@ class User extends AppModel {
|
|||
$result = $this->find('first', array(
|
||||
'recursive' => -1,
|
||||
'fields' => array('id', 'gpgkey'),
|
||||
'conditions' => array('id' => $id),
|
||||
));
|
||||
return $result['User']['gpgkey'];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue