mirror of https://github.com/MISP/MISP
fix: Removed a small slice of stupidity
parent
297802c2cb
commit
1a994043d6
|
@ -705,8 +705,7 @@ class ShadowAttributesController extends AppController {
|
|||
} else {
|
||||
// Read the attribute that we're about to edit
|
||||
$this->ShadowAttribute->create();
|
||||
$request['ShadowAttribute'] = $existingAttribute['Attribute'];
|
||||
$this->request->data = $request;
|
||||
$this->request->data['ShadowAttribute'] = $existingAttribute['Attribute'];
|
||||
unset($this->request->data['ShadowAttribute']['id']);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue