forked from extern/egroupware
Prefer most specific select options, if available
This commit is contained in:
parent
c950d7b0c1
commit
13598f5342
@ -438,6 +438,12 @@ class Select extends Etemplate\Widget
|
||||
$options += self::$request->sel_options[$name];
|
||||
}
|
||||
|
||||
// Check for non-trivial name like a[b]
|
||||
if(!$options)
|
||||
{
|
||||
$options = (array)self::get_array(self::$request->sel_options,$name);
|
||||
}
|
||||
|
||||
// Check for base of name in root of sel_options
|
||||
if(!$options)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user