From ab60a024675b5d13b03c4902a42ca958bd49e904 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Thu, 13 Dec 2007 11:15:47 +0000 Subject: [PATCH] improved control of the customfields in tableheader of infolog ->added the name of the customfields to the customfield control array ($rows[customfields]) --- infolog/inc/class.uiinfolog.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/infolog/inc/class.uiinfolog.inc.php b/infolog/inc/class.uiinfolog.inc.php index 46db2dc853..31e375523c 100644 --- a/infolog/inc/class.uiinfolog.inc.php +++ b/infolog/inc/class.uiinfolog.inc.php @@ -374,11 +374,13 @@ class uiinfolog (in_array('#'.$cf,$columselection)||$showallcustfields==1)) { $lv_customfields[$cf]=$cfa; + $lv_customfields[$cf]['name']='#'.$cf; $readonlys['#'.$cf] = true; } } else { if ($showallcustfields==1 || in_array('#'.$cf,$columselection)) { $lv_customfields[$cf]=$cfa; + $lv_customfields[$cf]['name']='#'.$cf; $readonlys['#'.$cf] = true; } } @@ -392,6 +394,7 @@ class uiinfolog { if ($showallcustfields==1 || in_array('#'.$name,$columselection)) { $lv_customfields[$name]=$value; + $lv_customfields[$name]['name']='#'.$name; //echo $name."->". $value['label']."
"; $readonlys['#'.$name] = true; }