mirror of https://github.com/MISP/MISP
fix: [api] editing organisation attributes, other than name
parent
0fc475ed48
commit
19163c5f67
|
@ -171,8 +171,8 @@ class OrganisationsController extends AppController
|
|||
} else {
|
||||
$temp['Organisation'][$field] = $existingOrg['Organisation'][$field];
|
||||
}
|
||||
$this->request->data = $temp;
|
||||
}
|
||||
$this->request->data = $temp;
|
||||
}
|
||||
$this->request->data['Organisation']['id'] = $id;
|
||||
if ($this->Organisation->save($this->request->data)) {
|
||||
|
|
Loading…
Reference in New Issue