mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
Addressbook: Fix advanced search was losing private custom field values when they were on a separate tab
This commit is contained in:
parent
ee244bf282
commit
727c122d8f
@ -3458,6 +3458,7 @@ class addressbook_ui extends addressbook_bo
|
||||
$this->tmpl->setElementAttribute('#' . $name, 'required', FALSE);
|
||||
if($this->config['private_cf_tab'] == 'True' && $data['private'])
|
||||
{
|
||||
$content['private_cfs']['#' . $name] = $content['#' . $name];
|
||||
// Private CF tab results in a different ID, turn required off there too
|
||||
$this->tmpl->setElementAttribute('private_cfs[#' . $name . ']', 'required', FALSE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user