forked from extern/egroupware
"fixed warning: explode expects 2. parameter to be string, array given"
This commit is contained in:
parent
5973d330fd
commit
3a1412d8fe
@ -85,13 +85,15 @@ class historylog_widget
|
||||
foreach($type as $n => $t)
|
||||
{
|
||||
$opt = '';
|
||||
if(is_array($t)) {
|
||||
if(is_array($t))
|
||||
{
|
||||
$sel_options = $t;
|
||||
}
|
||||
list($t,$opt) = explode(':',$t);
|
||||
if(is_array($sel_options)) {
|
||||
$t = 'select';
|
||||
}
|
||||
else
|
||||
{
|
||||
list($t,$opt) = explode(':',$t);
|
||||
}
|
||||
$child = etemplate::empty_cell($t,$cell['name']."[$n]",array('readonly' => true,'no_lang' => true,'size' => $opt));
|
||||
$child['sel_options'] = $sel_options;
|
||||
etemplate::add_child($cell,$child);
|
||||
|
Loading…
Reference in New Issue
Block a user