From d261f92a75a6ef3e5b9a20d1fe76ca0797c65c0e Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Thu, 14 Oct 2010 15:08:05 +0000 Subject: [PATCH] * Fix for Addressbook History NOT showing old or new value for some custom fields (Stylite #8230) --- addressbook/inc/class.addressbook_ui.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index 4d2f200085..e221f9f260 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -2289,7 +2289,7 @@ class addressbook_ui extends addressbook_bo $content['history']['status-widgets']['#'.$name] = $settings['type']; } elseif($settings['values']['@']) { $content['history']['status-widgets']['#'.$name] = customfields_widget::_get_options_from_file($settings['values']['@']); - } else { + } elseif(count($settings['values'])) { $content['history']['status-widgets']['#'.$name] = $settings['values']; } }