From 34ed6516e4f6cd39eff61328768bd10a5c03e98d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 29 Mar 2018 12:52:35 +0200 Subject: [PATCH] Fix field disappear --- htdocs/ticketsup/list.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/ticketsup/list.php b/htdocs/ticketsup/list.php index 82539a38eab..0e09333e7dd 100644 --- a/htdocs/ticketsup/list.php +++ b/htdocs/ticketsup/list.php @@ -113,8 +113,8 @@ if (is_array($extrafields->attribute_label) && count($extrafields->attribute_lab } $object->fields = dol_sort_array($object->fields, 'position'); $arrayfields = dol_sort_array($arrayfields, 'position'); -if ($socid > 0) unset($arrayfields['t.fk_soc']); -if ($projectid > 0) unset($arrayfields['t.fk_project']); +//if ($socid > 0) $arrayfields['t.fk_soc']['enabled']=0; +//if ($projectid > 0) $arrayfields['t.fk_project']['enabled']=0; // Security check