fixed warning

This commit is contained in:
Ralf Becker 2011-06-26 12:25:33 +00:00
parent ef6393e8af
commit 9bcc95b3d7

View File

@ -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],
);
}
}