mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-10 07:21:04 +01:00
values are NOT yet used on client side, but give warnings if array are not converted to strings
This commit is contained in:
parent
beb6f20790
commit
e1783ea0f7
@ -516,6 +516,21 @@ class nextmatch_widget
|
|||||||
$value['rows']['_action_links'] =& $value['action_links'];
|
$value['rows']['_action_links'] =& $value['action_links'];
|
||||||
$value['rows']['_row_id'] =& $value['row_id'];
|
$value['rows']['_row_id'] =& $value['row_id'];
|
||||||
|
|
||||||
|
// values are NOT yet used on client side, but give warnings if array are not converted to strings
|
||||||
|
$values['action'] = $value['checkboxes'] = $value['selected'] = '';
|
||||||
|
/*
|
||||||
|
$selected = $checkboxes = array();
|
||||||
|
foreach((array)$values['selected'] as $id)
|
||||||
|
{
|
||||||
|
$selected[] = strpos($id,',') === false ? $id : '"'.str_replace('"','""',$id).'"';
|
||||||
|
}
|
||||||
|
$value['selected'] = implode(',',$selected);
|
||||||
|
foreach((array)$value['checkboxes'] as $name => $checked)
|
||||||
|
{
|
||||||
|
$checkboxes[] = $name.':'.(int)$checked;
|
||||||
|
}
|
||||||
|
$value['checkboxes'] = implode(',',$checkboxes);
|
||||||
|
*/
|
||||||
return False; // NO extra Label
|
return False; // NO extra Label
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user