Merge pull request #296 from laf/issue-laf-40

Fixed the device image in the devices list (now shows image)
This commit is contained in:
Neil Lathwood 2014-09-30 19:19:16 +01:00
commit 10e24653be

View File

@ -25,6 +25,7 @@ $type = strtolower($device['os']);
if ($device['os'] == "ios") { formatCiscoHardware($device, true); }
$device['os_text'] = $config['os'][$device['os']]['text'];
$image = getImage($device);
echo(' <tr onclick="location.href=\'device/'.$device['device_id'].'/\'" style="cursor: pointer;">
<td class="'. $class .' "></td>