diff options
Diffstat (limited to 'changeset_r322.diff')
-rw-r--r-- | changeset_r322.diff | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/changeset_r322.diff b/changeset_r322.diff new file mode 100644 index 0000000..f8ff15a --- /dev/null +++ b/changeset_r322.diff @@ -0,0 +1,33 @@ +Index: trunk/inc/common.class.php +=================================================================== +--- trunk/inc/common.class.php (revision 321) ++++ trunk/inc/common.class.php (revision 322) +@@ -118,7 +118,7 @@ + **/ + function getTabNameForItem(CommonGLPI $item, $withtemplate=0) { + global $LANG; +- ++ + if(!isset($withtemplate) || empty($withtemplate)) { + return $LANG['plugin_pdf']['title'][1]; + } +@@ -310,6 +310,7 @@ + + if (!is_integer($itemtype) + && $itemtype != 'empty' ++ && method_exists($itemtype, "displayTabContentForPdf") + && ($obj = getItemForItemtype($itemtype))) { + if ($obj->displayTabContentForPdf($this->pdf, $this->obj, $tabnum)) { + continue; +Index: trunk/inc/computer.class.php +=================================================================== +--- trunk/inc/computer.class.php (revision 321) ++++ trunk/inc/computer.class.php (revision 322) +@@ -44,6 +44,7 @@ + + $onglets = parent::defineAllTabs($options); + unset($onglets['OcsLink$1']); // TODO add method to print OCS ++ unset($onglets['Item_Problem$1']); // TODO add method to print linked Problems + return $onglets; + } + |