Browse Source

Merge pull request #225 from georgehristov/Dashboard_Applet_Settings

[FIX] correctly handle misconfigured custom applets
experimental
Georgi Hristov 3 years ago
committed by GitHub
parent
commit
ff1a0ac1f3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/Base/Dashboard/Dashboard_0.php

+ 1
- 1
modules/Base/Dashboard/Dashboard_0.php View File

@@ -474,7 +474,7 @@ class Base_Dashboard extends Module {
if(isset($v['rule']['message']) && isset($v['rule']['type'])) $v['rule'] = array($v['rule']);
}

if (isset($values[$v['name']])) {
if (isset($v['name']) && isset($values[$v['name']])) {
if ($v['type'] == "crits") {
$v['default'] = $values[$v['name']];
} else {


Loading…
Cancel
Save