Fixes drop-down fields in dashboard widgets. Closes #588
This commit is contained in:
parent
012d5a4d1c
commit
e72c30a3c8
|
|
@ -319,8 +319,13 @@ class ReportContainer extends WidgetBase
|
|||
'type' => isset($params['type']) ? $params['type'] : 'string'
|
||||
];
|
||||
|
||||
foreach ($params as $name => $value) {
|
||||
if (isset($property[$name])) continue;
|
||||
foreach ($params as $name => $value) {
|
||||
if (isset($property[$name]))
|
||||
continue;
|
||||
|
||||
if (is_array($value))
|
||||
continue;
|
||||
|
||||
$property[$name] = Lang::get($value);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue