mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 02:14:45 +01:00
fix for bug #1058: FATAL ERROR: class.customfields_widget.inc.php on line 168
This commit is contained in:
parent
f4dd877cff
commit
be03b8e71d
@ -165,7 +165,7 @@
|
||||
$m = 0;
|
||||
foreach ($field['values'] as $key => $val)
|
||||
{
|
||||
$radio = $tpl->empty_cell('radio',$this->prefix.$name);
|
||||
$radio = etemplate::empty_cell('radio',$this->prefix.$name);
|
||||
$radio['label'] = $val;
|
||||
$radio['size'] = $key;
|
||||
etemplate::add_child($input,$radio);
|
||||
@ -229,7 +229,7 @@
|
||||
$cell['data'][0]['A'] = '100';
|
||||
}
|
||||
list($span,$class) = explode(',',$cell['span']); // msie (at least 5.5) shows nothing with div overflow=auto
|
||||
$cell['size'] = '100%,100%,0,'.$class.','.($type=='customfields-list'?',0':',').($tpl->html->user_agent != 'msie' ? ',auto' : '');
|
||||
$cell['size'] = '100%,100%,0,'.$class.','.($type=='customfields-list'?',0':',').($tmpl->html->user_agent != 'msie' ? ',auto' : '');
|
||||
|
||||
return True; // extra Label is ok
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user