From 63869aae9a6bfded049a4f274d9f3349540ee2e3 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 31 Jul 2013 08:13:20 +0000 Subject: [PATCH] fixed addressbook cat changes where only stored using "extra tab with cat tree", two other options with multiselect where not working --- 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 5142893574..f6692890e3 100644 --- a/addressbook/inc/class.addressbook_ui.inc.php +++ b/addressbook/inc/class.addressbook_ui.inc.php @@ -1590,7 +1590,7 @@ window.egw_LAB.wait(function() { unset($content['button']); $content['private'] = (int) ($content['owner'] && substr($content['owner'],-1) == 'p'); $content['owner'] = (string) (int) $content['owner']; - $content['cat_id'] = $content['cat_id_tree'] ? $content['cat_id_tree'] : $content['cat_id']; + $content['cat_id'] = $this->config['cat_tab'] === 'Tree' ? $content['cat_id_tree'] : $content['cat_id']; $content += (array)$content['private_cfs']; unset($content['private_cfs']);