fixed addressbook cat changes where only stored using "extra tab with cat tree", two other options with multiselect where not working

This commit is contained in:
Ralf Becker 2013-07-31 08:13:20 +00:00
parent 77be8da21c
commit 63869aae9a

View File

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