mirror of https://github.com/MISP/MISP
fix: [typo] causing the object saving to fail
parent
fc3439acc1
commit
3e8be53979
|
@ -304,7 +304,7 @@ class MispObject extends AppModel
|
|||
$object = $this->data['Object'];
|
||||
$this->Attribute->Correlation->updateContainedCorrelations($object, 'object');
|
||||
}
|
||||
if (!empty($this->data['Object']['deleted'] && !$created)) {
|
||||
if (!empty($this->data['Object']['deleted']) && !$created) {
|
||||
$attributes_to_delete = $this->Attribute->find('all', [
|
||||
'recursive' => -1,
|
||||
'conditions' => [
|
||||
|
|
Loading…
Reference in New Issue