more isset() from stintel

git-svn-id: http://www.observium.org/svn/observer/trunk@2251 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-05-05 14:39:50 +00:00
parent bd56d2e3fe
commit 209313da20
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ function device_by_id_cache($device_id)
{
global $device_cache;
if (is_array($device_cache[$device_id]))
if (isset($device_cache[$device_id]) && is_array($device_cache[$device_id]))
{
$device = $device_cache[$device_id];
} else {