diff --git a/app/bundles/LeadBundle/Views/Auditlog/details.html.php b/app/bundles/LeadBundle/Views/Auditlog/details.html.php
index c705c028fbc..0ec30c513b3 100644
--- a/app/bundles/LeadBundle/Views/Auditlog/details.html.php
+++ b/app/bundles/LeadBundle/Views/Auditlog/details.html.php
@@ -50,7 +50,30 @@
$text .= '
';
if (is_array($values)) {
if (count($values) >= 2) {
- $text .= "{$view->escape($field)} | {$view->escape($view['formatter']->normalizeStringValue($values[1]))} | {$view->escape($view['formatter']->normalizeStringValue($values[0]))} | ";
+ $text .= "{$view->escape($field)} | ";
+ if (isset($values['added']) || isset($values['removed'])) {
+ if (isset($values['added'])) {
+ $text .= "{$view->escape($view['formatter']->normalizeStringValue($values['added'][0]))} | ";
+ } else {
+ $text .= ' | ';
+ }
+ if (isset($values['added'])) {
+ $text .= "{$view->escape($view['formatter']->normalizeStringValue($values['removed'][0]))} | ";
+ } else {
+ $text .= ' | ';
+ }
+ } elseif (isset($values[0]) || isset($values[1])) {
+ if (isset($values[0])) {
+ $text .= "{$view->escape($view['formatter']->normalizeStringValue($values[0]))} | ";
+ } else {
+ $text .= ' | ';
+ }
+ if (isset($values[1])) {
+ $text .= "{$view->escape($view['formatter']->normalizeStringValue($values[1]))} | ";
+ } else {
+ $text .= ' | ';
+ }
+ }
} else {
$v = '';
foreach ($values as $k => $value) {