forked from extern/egroupware
Minor fixes / avoid warnings
This commit is contained in:
parent
5e76d4197e
commit
d194845e4e
@ -289,6 +289,11 @@ class etemplate_widget_menupopup extends etemplate_widget
|
||||
'label' => $s,
|
||||
'title' => $cat['description'],
|
||||
);
|
||||
// For multi-select, send data too
|
||||
if($rows > 1)
|
||||
{
|
||||
$options[$cat['id']]['data'] = $cat['data'];
|
||||
}
|
||||
}
|
||||
// preserv unavailible cats (eg. private user-cats)
|
||||
/* TODO
|
||||
|
@ -54,7 +54,7 @@ class etemplate_widget_projectmanager extends etemplate_widget_transformer
|
||||
$extension,
|
||||
$template
|
||||
);
|
||||
self::$request->sel_options[$form_name] += $cell['sel_options'];
|
||||
self::$request->sel_options[$form_name] += (array)$cell['sel_options'];
|
||||
|
||||
// if no_lang was modified, forward modification to the client
|
||||
if ($cell['no_lang'] != $this->attr['no_lang'])
|
||||
|
@ -131,7 +131,7 @@ abstract class etemplate_widget_transformer extends etemplate_widget
|
||||
case 'sel_options':
|
||||
self::$request->sel_options[$form_name] = $val;
|
||||
break;
|
||||
case 'type': // not an attribute in etempalte2
|
||||
case 'type': // not an attribute in etemplate2
|
||||
default:
|
||||
self::setElementAttribute($form_name, $attr, $val);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user