Skip to content
Permalink
Browse files

Update mercury.class.php

  • Loading branch information...
directman66 committed Mar 14, 2019
1 parent 0cfbb6c commit ae65220327c4b8b322be08a91d91042ecef3a20c
Showing with 2 additions and 2 deletions.
  1. +2 −2 modules/mercury/mercury.class.php
@@ -481,7 +481,7 @@ function searchdevices(&$out) {
if ((!$lastping)||(time()-$lastping>300))
{
$online=ping(processTitle($ip));
$cmd='
$online=ping(processTitle("'.$ip.'"));
@@ -491,7 +491,7 @@ function searchdevices(&$out) {
{SQLexec("update mercury_devices set ONLINE=0, LASTPING='.time().' where IPADDR=\''.$ip.'\'");}
';
SetTimeOut('mercury_devices_ping'.$i, '1');
SetTimeOut('mercury_devices_ping'.$ip,$cmd, '1');

0 comments on commit ae65220

Please sign in to comment.
You can’t perform that action at this time.