From 86c65da8aac08e5d3b4e8fc997abff087fa324f0 Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Wed, 5 Oct 2011 08:53:44 +0000 Subject: [PATCH] fix addhost? oops? git-svn-id: http://www.observium.org/svn/observer/trunk@2645 61d68cd4-352d-0410-923a-c4978735b2b8 --- addhost.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addhost.php b/addhost.php index b9598f600f..4f954c58cb 100755 --- a/addhost.php +++ b/addhost.php @@ -43,7 +43,7 @@ if (isset($argv[1]) && $argv[1]) if (!$snmpver) $snmpver = "v2c"; if ($community) { - $config['snmp']['community'][] = array($community); + $config['snmp']['community'] = array($community); } $device_id = addHost($host, $community, $snmpver, $port, $transport);