mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
really fix
git-svn-id: http://www.observium.org/svn/observer/trunk@2370 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -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[] = "?";
|
||||
|
Reference in New Issue
Block a user