From aada45e0c9d4e4a96149de11450ea0398d9c24e1 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 24 Feb 2005 14:10:26 +0000 Subject: [PATCH] fixed bug: not all custom fields are shown readonly if only editing the status is allowed (thought they will not be saved anyway) --- infolog/inc/class.uiinfolog.inc.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/infolog/inc/class.uiinfolog.inc.php b/infolog/inc/class.uiinfolog.inc.php index c348ff8695..1f73299315 100644 --- a/infolog/inc/class.uiinfolog.inc.php +++ b/infolog/inc/class.uiinfolog.inc.php @@ -457,6 +457,11 @@ { $readonlys[$name] = $name != 'info_status'; } + // need to set all customfields extra, as they are not set if empty + foreach($this->bo->customfields as $name => $value) + { + $readonlys['#'.$name] = true; + } } else {