diff --git a/inc/issue.class.php b/inc/issue.class.php index 6016aad85..a3cbff566 100644 --- a/inc/issue.class.php +++ b/inc/issue.class.php @@ -332,8 +332,6 @@ public function displayExtended($options = []) { * @see CommonGLPI::display() */ public function displaySimplified($options = []) { - global $CFG_GLPI; - if (!isset($this->fields['itemtype'])) { Html::displayNotFoundError(); } @@ -420,10 +418,8 @@ public function displaySimplified($options = []) { } } - echo "
"; - $rand = mt_rand(); - $item->showTimelineForm($rand); - $item->showTimeline($rand); + echo "
"; + $item->showForm($item->getID()); echo "
"; } else { // No ticket associated to this issue or multiple tickets