mirror of https://github.com/MISP/MISP
fix: [internal] Undefined index sharing_group_id when uploading stix file
parent
b047fe2f74
commit
d6c0514644
|
@ -2469,7 +2469,7 @@ class EventsController extends AppController
|
|||
$original_file,
|
||||
$this->data['Event']['publish'],
|
||||
$this->data['Event']['distribution'],
|
||||
$this->data['Event']['sharing_group_id'],
|
||||
$this->data['Event']['sharing_group_id'] ?? null,
|
||||
$this->data['Event']['galaxies_handling'],
|
||||
$debug
|
||||
);
|
||||
|
|
|
@ -5926,7 +5926,7 @@ class Event extends AppModel
|
|||
* @param string $originalFile
|
||||
* @param bool $publish
|
||||
* @param int $distribution
|
||||
* @param int $sharingGroupId
|
||||
* @param int|null $sharingGroupId
|
||||
* @param bool $galaxiesAsTags
|
||||
* @param bool $debug
|
||||
* @return int|string|array
|
||||
|
@ -5996,7 +5996,7 @@ class Event extends AppModel
|
|||
* @param string $stixVersion
|
||||
* @param string $file
|
||||
* @param int $distribution
|
||||
* @param int $sharingGroupId
|
||||
* @param int|null $sharingGroupId
|
||||
* @param bool $galaxiesAsTags
|
||||
* @param bool $debug
|
||||
* @return array
|
||||
|
|
Loading…
Reference in New Issue