forked from extern/egroupware
Fix select-type would not validate server side
This commit is contained in:
parent
1a2e691cbb
commit
b20f57d5ba
@ -829,9 +829,10 @@ class Select extends Etemplate\Widget
|
|||||||
$no_lang = True;
|
$no_lang = True;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'select-app': // type2: 'user'=apps of current user, 'enabled', 'installed' (default), 'all' = not installed ones too
|
case 'select-tab':
|
||||||
|
case 'select-app': // type2: 'user'=apps of current user, 'enabled', 'installed' (default), 'all' = not installed ones too
|
||||||
$apps = self::app_options($type2);
|
$apps = self::app_options($type2);
|
||||||
$options = is_array($options) ? $options+$apps : $apps;
|
$options = is_array($options) ? $options + $apps : $apps;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'select-lang':
|
case 'select-lang':
|
||||||
|
Loading…
Reference in New Issue
Block a user