mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Import/Export: Avoid "Undefined variable: filter" error
(cherry picked from commit d57df627a7
)
This commit is contained in:
parent
a024baeef6
commit
1586bbd66a
@ -93,9 +93,12 @@ 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'] );
|
||||
if($this->definition['filter'])
|
||||
{
|
||||
$filter = importexport_arrayxml::xml2array( $this->definition['filter'] );
|
||||
$this->definition['filter'] = $filter['root'];
|
||||
}
|
||||
}
|
||||
catch (Throwable $e)
|
||||
{
|
||||
error_log(__METHOD__ . " Error constructing definition " .
|
||||
|
25
lit-element-starter-ts/src/my-input.ts
Normal file
25
lit-element-starter-ts/src/my-input.ts
Normal file
@ -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;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user