mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-17 19:01:04 +01:00
Prefer most specific select options, if available
This commit is contained in:
parent
e6c73af4d0
commit
fa2469b0e3
@ -425,6 +425,12 @@ class Select extends Etemplate\Widget
|
|||||||
$options += self::$request->sel_options[$name];
|
$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
|
// Check for base of name in root of sel_options
|
||||||
if(!$options)
|
if(!$options)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user