mirror of https://github.com/MISP/MISP
fix: [internal] Branch setting don't have level value
parent
59e635c974
commit
ec92a97982
|
@ -3226,7 +3226,7 @@ class Server extends AppModel
|
|||
foreach ($serverSettings as $branchKey => &$branchValue) {
|
||||
if (isset($branchValue['branch'])) {
|
||||
foreach ($branchValue as $leafKey => &$leafValue) {
|
||||
if ($leafValue['level'] == 3 && !(isset($currentSettings[$branchKey][$leafKey]))) {
|
||||
if ($leafKey !== 'branch' && $leafValue['level'] == 3 && !(isset($currentSettings[$branchKey][$leafKey]))) {
|
||||
continue;
|
||||
}
|
||||
$setting = null;
|
||||
|
|
Loading…
Reference in New Issue