mirror of https://github.com/MISP/MISP
fix: No distribution set on the server should default to inherit for object attributes
parent
9d7435a462
commit
a35263c305
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue