Fixed generic image and text

This commit is contained in:
laf
2015-03-10 14:07:40 +00:00
parent de37b355ed
commit 1126abc332
2 changed files with 1 additions and 1 deletions

BIN
html/images/icons/generic.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 530 B

View File

@ -84,7 +84,7 @@ if ($_SESSION['userlevel'] >= '10') {
foreach (dbFetchRows('SELECT `type`,COUNT(`type`) AS total_type FROM `devices` AS D WHERE 1 GROUP BY `type` ORDER BY `type`') as $devtype) {
if (empty($devtype['type'])) {
$devtype['type'] = 'Generic';
$devtype['type'] = 'generic';
}
echo(' <li><a href="devices/type=' . $devtype['type'] . '/"><img src="images/icons/' . $devtype['type'] . '.png" border="0" align="absmiddle" /> ' . ucfirst($devtype['type']) . '</a></li>');
}