mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 17:38:19 +01:00
Pass along enhancement flag
This commit is contained in:
parent
328bb04491
commit
d496ba3cd5
@ -150,7 +150,7 @@ class customfields_widget
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// check if name refers to a single custom field --> show only that
|
// check if name refers to a single custom field --> show only that
|
||||||
if (($pos=strpos($cell['name'],$this->prefix)) !== false && // allow the prefixed name to be an array index too
|
if (($pos=@strpos($cell['name'],$this->prefix)) !== false && // allow the prefixed name to be an array index too
|
||||||
preg_match("/$this->prefix([^\]]+)/",$cell['name'],$matches) && isset($fields[$name=$matches[1]]))
|
preg_match("/$this->prefix([^\]]+)/",$cell['name'],$matches) && isset($fields[$name=$matches[1]]))
|
||||||
{
|
{
|
||||||
$fields = array($name => $fields[$name]);
|
$fields = array($name => $fields[$name]);
|
||||||
@ -258,6 +258,7 @@ class customfields_widget
|
|||||||
$input =& boetemplate::empty_cell('select',$this->prefix.$lname,array(
|
$input =& boetemplate::empty_cell('select',$this->prefix.$lname,array(
|
||||||
'sel_options' => $field['values'],
|
'sel_options' => $field['values'],
|
||||||
'size' => $field['rows'],
|
'size' => $field['rows'],
|
||||||
|
'enhance' => $field['enhance'],
|
||||||
'no_lang' => True,
|
'no_lang' => True,
|
||||||
));
|
));
|
||||||
if($this->advanced_search)
|
if($this->advanced_search)
|
||||||
|
Loading…
Reference in New Issue
Block a user