Browse Source

[FIX] correctly handle misconfigured custom applets

experimental
Georgi Hristov 3 years ago
parent
commit
f58fb8f32d
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