Skip to content

Commit ce216d5

Browse files
committed
fix
1 parent 1e8eb65 commit ce216d5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

inc/common.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function addStandardTab($itemtype, array &$ong, array $options)
5959
$withtemplate = $options['withtemplate'];
6060
}
6161

62-
if (!is_numeric($itemtype) && ($obj = $dbu->getItemForItemtype($itemtype)) && (method_exists($itemtype, 'displayTabContentForPDF') )) {
62+
if (!is_numeric($itemtype) && ($obj = $dbu->getItemForItemtype($itemtype)) && (method_exists($itemtype, 'displayTabContentForPDF'))) {
6363
$titles = $obj->getTabNameForItem($this->obj, $withtemplate);
6464
if (!is_array($titles)) {
6565
$titles = [1 => $titles];

inc/item_device.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public static function pdfForItem(PluginPdfSimplePDF $pdf, $item)
100100
if (method_exists($device, 'getAdditionalFields')) {
101101
$spec = $device->getAdditionalFields();
102102
}
103-
103+
104104
$col4 = '';
105105
if (count($spec) > 0) {
106106
$colspan = (60 / count($spec));

inc/networkport.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public static function pdfForItem(PluginPdfSimplePDF $pdf, CommonDBTM $item)
9595
$add = __s('Not connected.');
9696
$cid = $contact->getContact($netport->fields['id']);
9797
if ($cid && $netport2->getFromDB($cid) && ($device2 = $dbu->getItemForItemtype($netport2->fields['itemtype'])) && $device2->getFromDB($netport2->fields['items_id'])) {
98-
$add = $netport2->getName() . ' ' . __s('on') . ' ' . $device2->getName() . ' (' . $device2->getTypeName() . ')';
98+
$add = $netport2->getName() . ' ' . __s('on') . ' ' . $device2->getName() . ' (' . $device2->getTypeName() . ')';
9999
}
100100

101101
if ($instantiation_type == 'NetworkPortEthernet') {

0 commit comments

Comments
 (0)