mirror of https://github.com/MISP/MISP
fix: [proposal] No return when org is not defined
parent
20a098217d
commit
1da6cd8cd4
|
@ -317,7 +317,7 @@ class ShadowAttribute extends AppModel
|
|||
}
|
||||
|
||||
if (!isset($this->data['ShadowAttribute']['org'])) {
|
||||
return $this->data['ShadowAttribute']['org'] = '';
|
||||
$this->data['ShadowAttribute']['org'] = '';
|
||||
}
|
||||
|
||||
if (empty($this->data['ShadowAttribute']['timestamp'])) {
|
||||
|
|
Loading…
Reference in New Issue