fix global $device

git-svn-id: http://www.observium.org/svn/observer/trunk@2260 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-05-05 20:37:54 +00:00
parent 78dc7147a6
commit 43e316e7f6
2 changed files with 2 additions and 3 deletions

View File

@@ -107,6 +107,7 @@ while ($device = mysql_fetch_assoc($device_query))
function poll_device($device, $options) {
global $config;
global $device;
$attribs = get_dev_attribs($device['device_id']);