diff --git a/importexport/inc/class.importexport_definition.inc.php b/importexport/inc/class.importexport_definition.inc.php index 1ede7bc30b..8626819bf8 100644 --- a/importexport/inc/class.importexport_definition.inc.php +++ b/importexport/inc/class.importexport_definition.inc.php @@ -93,8 +93,11 @@ class importexport_definition implements importexport_iface_egw_record { { $options_data = importexport_arrayxml::xml2array( $this->definition['plugin_options'] ); $this->definition['plugin_options'] = (array)$options_data['root']; - if($this->definition['filter']) $filter = importexport_arrayxml::xml2array( $this->definition['filter'] ); - $this->definition['filter'] = $filter['root']; + if($this->definition['filter']) + { + $filter = importexport_arrayxml::xml2array( $this->definition['filter'] ); + $this->definition['filter'] = $filter['root']; + } } catch (Throwable $e) { diff --git a/lit-element-starter-ts/src/my-input.ts b/lit-element-starter-ts/src/my-input.ts new file mode 100644 index 0000000000..a3c86aec5d --- /dev/null +++ b/lit-element-starter-ts/src/my-input.ts @@ -0,0 +1,25 @@ +/** + * @license + * Copyright 2019 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */ + +import {LitElement, html, css} from 'lit'; +import {customElement, property} from 'lit/decorators.js'; + +/** + * An example element. + * + * @slot - This element has a slot + * @csspart button - The button + */ +@customElement('my-input') +export class MyInput extends LitElement { + +} + +declare global { + interface HTMLElementTagNameMap { + 'my-input': MyInput; + } +}