mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Addressbook: Fix extra private cfs in advanced search show "null" when blank
This commit is contained in:
parent
ce140e5eb6
commit
cebe21cc2d
@ -3458,7 +3458,10 @@ 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];
|
||||
if(isset($content['#' . $name]))
|
||||
{
|
||||
$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