mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
Fix select options with label & title not always working in rows
This commit is contained in:
parent
3162247d90
commit
625dae0c59
@ -2065,12 +2065,21 @@ class etemplate_old extends boetemplate
|
||||
$sels += $cell['sel_options'];
|
||||
}
|
||||
}
|
||||
$explode_needed = true;
|
||||
if (($options = $this->sel_options[$name]) && is_array($options) ||
|
||||
($options = self::get_array($this->sel_options, $name)) && is_array($options))
|
||||
{
|
||||
$sels += $options;
|
||||
if(count($options) == 2 && $options['label'] && $options['title'])
|
||||
{
|
||||
// In too far - need to back up
|
||||
}
|
||||
else
|
||||
{
|
||||
$sels += $options;
|
||||
$explode_needed = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
if($explode_needed)
|
||||
{
|
||||
$name_parts = explode('[',str_replace(']','',$name));
|
||||
if (count($name_parts))
|
||||
|
Loading…
Reference in New Issue
Block a user