mirror of https://github.com/MISP/MISP
chg: Removed unwanted indentation
parent
2061707932
commit
4f3ed331f0
|
@ -843,7 +843,7 @@ class Attribute extends AppModel
|
|||
App::uses('ComplexTypeTool', 'Tools');
|
||||
$this->complexTypeTool = new ComplexTypeTool();
|
||||
$this->data['Attribute']['value'] = $this->complexTypeTool->refangValue($this->data['Attribute']['value'], $this->data['Attribute']['type']);
|
||||
|
||||
|
||||
if (!empty($this->data['Attribute']['object_id']) && empty($this->data['Attribute']['object_relation'])) {
|
||||
$this->validationErrors['type'] = ['Object attribute sent, but no object_relation set.'];
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue