From 404397df8ce9f5cc9459e16dbecdf7430be3ec7f Mon Sep 17 00:00:00 2001 From: Joachim Kueter Date: Wed, 12 Apr 2023 14:12:42 +0200 Subject: [PATCH] Remove unnecessary output of extrafields The extrafields for a bom line are already output at line 130 (correct within html tags). The additional output here (without any html tags) causes the extrafields to be displayed additionally on top of all line items. --- htdocs/bom/tpl/objectline_create.tpl.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/htdocs/bom/tpl/objectline_create.tpl.php b/htdocs/bom/tpl/objectline_create.tpl.php index b57196bb9a8..99898e37ae0 100644 --- a/htdocs/bom/tpl/objectline_create.tpl.php +++ b/htdocs/bom/tpl/objectline_create.tpl.php @@ -195,10 +195,6 @@ if ($filtertype != 1) { print ''; print ''; - -if (is_object($objectline)) { - print $objectline->showOptionals($extrafields, 'edit', array('style'=>$bcnd[$var], 'colspan'=>$coldisplay), '', '', 1, 'line'); -} ?>