Get rid of one more php warning

git-svn-id: http://www.observium.org/svn/observer/trunk@1787 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2011-03-04 17:37:48 +00:00
parent 4fd6b40053
commit a456392ea2

View File

@ -28,7 +28,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'];
}