From 0232092187556a9d77033d9e45923b3522e1bea7 Mon Sep 17 00:00:00 2001 From: nathangray Date: Fri, 23 Apr 2021 10:20:20 -0600 Subject: [PATCH] Addressbook: Fix historylog showing some changes done by "Personal" --- addressbook/inc/class.addressbook_ui.inc.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/addressbook/inc/class.addressbook_ui.inc.php b/addressbook/inc/class.addressbook_ui.inc.php index 3281dde922..5f6318a00b 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -3580,6 +3580,9 @@ class addressbook_ui extends addressbook_bo } $sel_options['status'] = $this->contact_fields; - // custom fields no longer need to be added, historylog-widget "knows" about them + // Addressbook also has an 'owner' field, which has different options. + // If we don't put something here (just empty won't work), history log will use + // those options instead of the select-account options. + $sel_options['history']['owner'] = ['ignore' => 'me']; } }