From 9bcc95b3d7903d3ed8f377a3229e4849c02fbda6 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 26 Jun 2011 12:25:33 +0000 Subject: [PATCH] fixed warning --- infolog/inc/class.infolog_tracking.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/infolog/inc/class.infolog_tracking.inc.php b/infolog/inc/class.infolog_tracking.inc.php index f45b7677c5..6ddb6e5a12 100644 --- a/infolog/inc/class.infolog_tracking.inc.php +++ b/infolog/inc/class.infolog_tracking.inc.php @@ -251,7 +251,8 @@ class infolog_tracking extends bo_tracking } $details['#'.$name] = array( 'label' => $field['label'], - 'value' => (is_array($field['values']) && !empty($field['values']) && array_key_exists($data['#'.$name],$field['values']))?$field['values'][$data['#'.$name]] : $data['#'.$name], + 'value' => (is_array($field['values']) && !empty($field['values']) && isset($data['#'.$name]) && + array_key_exists($data['#'.$name],$field['values']))?$field['values'][$data['#'.$name]] : $data['#'.$name], ); } }