mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Prevent empty options being sent when selectbox is in a row.
Fixes unwanted numeric options in auto-repeat rows.
This commit is contained in:
parent
6097c39ea5
commit
f099800b62
@ -224,7 +224,7 @@ class etemplate_widget_menupopup extends etemplate_widget
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Make sure s, etc. are properly encoded when sent, and not double-encoded
|
// Make sure s, etc. are properly encoded when sent, and not double-encoded
|
||||||
$options = (self::$request->sel_options[$form_name] ? $form_name : $this->id);
|
$options = (isset(self::$request->sel_options[$form_name]) ? $form_name : $this->id);
|
||||||
if(is_array(self::$request->sel_options[$options]))
|
if(is_array(self::$request->sel_options[$options]))
|
||||||
{
|
{
|
||||||
// Turn on search, if there's a lot of rows (unless explicitly set)
|
// Turn on search, if there's a lot of rows (unless explicitly set)
|
||||||
|
Loading…
Reference in New Issue
Block a user