diff --git a/html/includes/topnav.inc b/html/includes/topnav.inc
index ddd7e98dca..2a234157e1 100644
--- a/html/includes/topnav.inc
+++ b/html/includes/topnav.inc
@@ -1,6 +1,6 @@
= 5)
{
$devices['count'] = mysql_result(mysql_query("SELECT count(*) FROM devices"),0);
$devices['up'] = mysql_result(mysql_query("SELECT count(*) FROM devices WHERE status = '1' AND `ignore` = '0'"),0);