diff --git a/emhttp/plugins/dynamix/include/SysDevs.php b/emhttp/plugins/dynamix/include/SysDevs.php index a7bbfbbfa..7af726342 100644 --- a/emhttp/plugins/dynamix/include/SysDevs.php +++ b/emhttp/plugins/dynamix/include/SysDevs.php @@ -245,7 +245,8 @@ case 't1': $pcispeed = getPciLinkInfo($pciaddress); $speedcol = $pcispeed['speed_downgraded'] ? ''.$pcispeed['current_speed'].'' : $pcispeed['current_speed']; if ($pcispeed['max_speed']) $speedcol .= '/'.$pcispeed['max_speed'].' '.$pcispeed['rate']; - $widthcol = $pcispeed['width_downgraded'] ? 'x'.$pcispeed['current_width'].'' : 'x'.$pcispeed['current_width']; + if (isset($pcispeed['current_width'])) $current_width = 'x'.$pcispeed['current_width']; else $current_width = ''; + $widthcol = $pcispeed['width_downgraded'] ? ''.$current_width.'' : $current_width; if ($pcispeed['max_width']) $widthcol = $widthcol.'/'.$pcispeed['max_width']; echo $speedcol, '', $widthcol; if (isset($pcispeed['generation'])) echo'(Gen:'.$pcispeed['generation'].')';