diff --git a/app/Model/Attribute.php b/app/Model/Attribute.php index 44037c0ac..613a91f5e 100644 --- a/app/Model/Attribute.php +++ b/app/Model/Attribute.php @@ -2674,6 +2674,7 @@ class Attribute extends AppModel { } public function saveAttributes($attributes) { + $defaultDistribution = 5; if (Configure::read('MISP.default_attribute_distribution') != null) { if (Configure::read('MISP.default_attribute_distribution') === 'event') { $defaultDistribution = 5;