Get rid of one more php warning

git-svn-id: http://www.observium.org/svn/observer/trunk@1800 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2011-03-08 16:27:14 +00:00
parent 802573cfd3
commit d803c717f3

View File

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