From becdd548cd427d651f55f35a0baf4908f877aa2c Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Thu, 26 May 2011 20:28:15 +0000 Subject: [PATCH] really fix git-svn-id: http://www.observium.org/svn/observer/trunk@2370 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/pages/device/edit/apps.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/html/pages/device/edit/apps.inc.php b/html/pages/device/edit/apps.inc.php index a4df5c4066..63e2ab571d 100644 --- a/html/pages/device/edit/apps.inc.php +++ b/html/pages/device/edit/apps.inc.php @@ -22,11 +22,12 @@ if ($handle = opendir($config['install_dir'] . "/includes/polling/applications/" if ($_POST['device']) { $updated = 0; - $param[] = array($device['device_id']); + $param[] = $device['device_id']; foreach (array_keys($_POST) as $key) { if (substr($key,0,4) == 'app_') { + echo($key); $param[] = substr($key,4); $enabled[] = substr($key,4); $replace[] = "?";