From d803c717f31a05f02015a2b60628b68b946b3537 Mon Sep 17 00:00:00 2001 From: Tom Laermans Date: Tue, 8 Mar 2011 16:27:14 +0000 Subject: [PATCH] Get rid of one more php warning git-svn-id: http://www.observium.org/svn/observer/trunk@1800 61d68cd4-352d-0410-923a-c4978735b2b8 --- discovery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discovery.php b/discovery.php index 6c376e962..088bff22b 100755 --- a/discovery.php +++ b/discovery.php @@ -31,7 +31,7 @@ elseif ($options['h']) { } } -if ($options['i'] && isset($options['n'])) { +if (isset($options['i']) && $options['i'] && isset($options['n'])) { $where = "AND MOD(device_id,".$options['i'].") = '" . $options['n'] . "'"; $doing = $options['n'] ."/".$options['i']; }