summaryrefslogtreecommitdiffstats
path: root/frontends/php
diff options
context:
space:
mode:
Diffstat (limited to 'frontends/php')
-rw-r--r--frontends/php/include/forms.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/forms.inc.php b/frontends/php/include/forms.inc.php
index e1c43bbe..5d576bb1 100644
--- a/frontends/php/include/forms.inc.php
+++ b/frontends/php/include/forms.inc.php
@@ -214,7 +214,7 @@
foreach($dchecks as $id => $data)
{
- switch($new_check_type)
+ switch($data['type'])
{
case SVC_SNMPv1:
case SVC_SNMPv2: